Share via


IMsgrUsers::Count Property

Deprecated. Retrieves the number of MessengerUser objects in the collection.

Note  The IMsgrUsers::Count property 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 IMessengerContacts::Count instead.

Syntax

HRESULT IMsgrUsers::get_Count(long *pcUsers);

Parameters

  • pcUsers
    Pointer to a LONG that provides the number of MessengerUser objects in the collection.

Return Value

Returns S_OK if successful, or an error value otherwise.

Remarks

Important  IMsgrUsers::Count is no longer available in Windows Vista. See Windows Messenger for more information.