Share via


IMessengerServices::Count Property

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

Syntax

HRESULT IMessengerServices::get_Count(LONG *pcServices);

Parameters

  • pcServices
    Pointer to a LONG that provides the number of MessengerServices objects in the collection.

Return Value

Returns one of the following values. 

S_OK Success.
RPC_X_NULL_REF_POINTER pcServices is a NULL pointer.

Remarks

If there are no active MessengerServices objects, pcServices will return zero.

If this method is called while the client is offline, the method call will not fail.

Note  This property is available for scripting languages.

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

See Also

IMessengerServices::Item