Deprecated. Invites a user to the current session.
HRESULT Invite( IDispatch *pUser, BSTR bstrAppData );
Returns one of the following values.
S_OK The invitation was sent successfully. E_INVALIDARG One of the values passed into the method was not valid. SR_APP_NOT_SPECIFIED The application was not specified. SR_SESSION_NOT_READY The session is not ready. MSGR_E_NOT_LOGGED_ON The invited user is not logged on. SR_INVITED_SELF The inviter and invitee are the same user.
Important IMsgrSession::Invite is no longer available in Windows Vista. See Windows Messenger for more information.