Rufen Sie uns an: +1-877-99-BOPUP

IServerClient::UpdateSession method

Updates current session opened with the IM server and sets new user's presence status, i.e. online, away.

HRESULT UpdateSession(     LPDWORD lpTransferStatusStruct,     LPDWORD lpdwExtendedCode );

Parameters

lpTransferStatusStruct
[in] Pointer to a TRANSFER_STATUS_STRUCT structure that contains information on the updated presence status.
lpdwExtendedCode
[out] Pointer to a DWORD variable that gets an extended code if error result is returned. For available codes see Available Extended Codes topic.

Return Value

S_OK
The function was successful.
S_FALSE
The function was successful but no changes occurred. Check lpdwExtendedCode variable to get extended information.
E_INVALIDARG
One or more arguments are incorrect.
E_FAIL
Some error occurred in the function. Check lpdwExtendedCode variable to get extended information on the error.