IBasicIMOld::CreateUser Method

[CreateUser is no longer available in Windows Vista. See Windows Messenger for more information.]

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

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

Syntax

HRESULT CreateUser(
  [in]           BSTR bstrLogonName,
  [out, retval]  IBasicIMUser **ppBIMUser
);

Parameters

bstrLogonName [in]
BSTR

BSTR that contains the user's sign-in name.

ppBIMUser [out]
IBasicIMUser

Address of a pointer to an IBasicIMUser interface.

Return Value

HRESULT

If the method succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.

Requirements

Header

Basicim.h

IDL

Basicim.idl

DLL

Msgsc.dll

See Also

IBasicIMOld

 

 

Send comments about this topic to Microsoft

Build date: 6/30/2010

Show: