Share via


IMsgrSessionManager::CreateSession Method

Deprecated. Creates a new MsgrSession object.

Syntax

HRESULT CreateSession(      
    IDispatch **ppSession
);

Parameters

  • ppSession
    [out, retval] Address of a pointer to an IDispatch World Wide Web link interface that returns the new session object.

Return Value

Returns one of the following values.

S_OK The MsgrSession object was created successfully.
E_INVALIDARG The parameter passed to the method was not valid.
E_OUTOFMEMORY The MsgrSession object cannot be created.

Remarks

Important  IMsgrSessionManager::CreateSession is no longer available in Windows Vista. See Windows Messenger for more information.

See Also

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