IMsgrUsers::Add method

[Add is no longer available for use as of Windows Vista. See Windows Messenger for more information.]

Adds a MessengerUser object to a collection.

Note

The Add method is available for use in Windows Messenger 4.7. It might be altered or unavailable in subsequent versions of Windows Messenger.

Syntax

HRESULT Add(
  [in] IMsgrUser *pUser
);

Parameters

pUser [in]

Type: IMsgrUser*

Pointer to an IMsgrUser interface.

Return value

Type: HRESULT

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

Requirements

End of client support
Windows XP
End of server support
Windows Server 2003
Header
Mdisp.h
IDL
Mdisp.idl
DLL
Msmsgs.exe