Share via


IMessengerGroups::Count property

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

Retrieves the number of groups.

This property is read-only.

Syntax

HRESULT get_Count(
  [out, retval] long *pcCount
);

Property value

Pointer to a LONG that provides the number of MessengerGroup objects in the collection.

Error codes

Returns one of the following values.

Name Meaning
S_OK
Success.
RPC_X_NULL_REF_POINTER
pcGroups is a NULL pointer.

Remarks

This property does not return any error codes.

This property is available for scripting languages.

Note

This property is available for scripting languages.

Requirements

End of client support
Windows XP
End of server support
Windows Server 2003
Header
Msgrua.h
IDL
Msgrua.idl
DLL
Msgsc.dll

See also

IMessengerGroups