IMessengerGroup::Contacts Property

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

Retrieves a list of contacts from the group's collection of users.

This property is read-only.

Syntax (get)

HRESULT get_Contacts(
  [out, retval]  IDispatch **ppMContacts
);

Parameters

ppMContacts [out]

Address of a pointer to an IDispatch of a MessengerContact object representing the users that are in the group's collection.

Return Value

Returns one of the following values.

Return codeDescription
S_OK

Success.

RPC_X_NULL_REF_POINTER

ppMContacts is a NULL pointer.

E_OUTOFMEMORY

Error during list creation.

 

Remarks

The following table lists the error codes returned by this property.

Error CodeMeaning
0x8007000EError during list creation.

 

This property is available for scripting languages.

Note  This method is available for scripting languages.

Requirements

Header

Msgrua.h

IDL

Msgrua.idl

DLL

Msgsc.dll

See Also

IMessengerGroup

 

 

Send comments about this topic to Microsoft

Build date: 6/30/2010

Show: