IrDA Framework
ContentsIndexHome
PreviousUpNext
CwclCustomObexServer::Reject Method

Rejects the connection request.

Syntax
C++
int Reject(tstring Description);
Parameters 
Description 
tstring Description 
The string description of the rejection reason.  

If the function succeed the return value is WCL_E_SUCCESS. Otherwise the method returns one of the WCL error codes.

An application calls this method from DoConnect method or from OnConnect event handler to reject the connection request.  

 

Copyright (c) 2006-2019. All rights reserved.