qResult Logout( ProtocolCallContext * pContext );
Name | Description | |
---|---|---|
in | pContext | The call context. Do not use this call context to set or cancel a timeout. |
Value | Description |
---|---|
QSUCCESS(Core,Success) |
Successfully started the logout process. |
QERROR(Core,OperationAborted) |
Currently logging in. |
QERROR(Core,CallInitiationFailure) |
Any other failure (such as, a different logout process is currently in progress). |
Logs out.
Before calling this function, be sure to execute the ServiceClient::Unbind
function of a class derived from ServiceClient
(such as MatchmakeExtensionClient
or NATTraversalClient
) and the delete
process.
QRESULT_SUCCESS
and QRESULT_ERROR
return values to QSUCCESS
and QERROR
.
CONFIDENTIAL