IBasicIMOld::CreateUser Method

Deprecated. Creates a Basic Instant Messaging Service (IM) user object.

Note  The IBasicIMOld::CreateUser method is available for use in Microsoft Windows Messenger 4.7. It might be altered or unavailable in subsequent versions of Windows Messenger. You should use IMessenger::GetContact instead.

Syntax

HRESULT CreateUser(      
    BSTR bstrLogonName,
    IBasicIMUser **ppBIMUser
);

Parameters

  • bstrLogonName
    [in] BSTR that contains the user's sign-in name.
  • ppBIMUser
    [out, retval] Address of a pointer to an IBasicIMUser interface.

Return Value

Returns S_OK if successful, or an error value otherwise.

Remarks

Important  IBasicIMOld::CreateUser is no longer available in Windows Vista. See Windows Messenger for more information.