nn::nex::NgsFacade::Logout Member Function

Syntax

qResult Logout(
     ProtocolCallContext * pContext
);

Parameters

Name Description
in pContext The call context.
Do not use this call context to set or cancel a timeout.

Return Values

Returns the processing result.

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).

Description

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.

Revision History

2014/04/16
Changed the notation of the QRESULT_SUCCESS and QRESULT_ERROR return values to QSUCCESS and QERROR.
2012/01/26
Initial version.

CONFIDENTIAL