GetCount Method

Retrieves the number of items in the collection.

HRESULT GetCount(
    [in]  DWORD* pcElems
);

Parameters

pcElems

Address of a DWORD that receives the item count.

Return Value

This method returns an HRESULT. Possible values include, but are not limited to, those in the following table.

Value Description

S_OK

The method succeeded.

Requirements

Requires Windows 7.