IMsgrSession::SessionID Property

Deprecated. Retrieves a value that indicates the session ID.

Syntax

HRESULT IMsgrSession::get_SessionID(BSTR *pbstrSessionID);

Parameters

  • pbstrSessionID
    Pointer to a BSTR that indicates the session ID.

Return Value

Returns S_OK if successful, or an error value otherwise.

Remarks

The following table lists the error codes returned by this property.

Error Code Meaning
E_INVALIDARG The value passed into the property was not valid.
E_OUTOFMEMORY The session identifier is too long.

Important  IMsgrSession::SessionID is no longer available in Windows Vista. See Windows Messenger for more information.

See Also

Messenger Session Invite and Messenger Private APIs, Messenger Lock and Key API