Retrieves the number of items contained in the enumeration sequence.
Syntax
HRESULT GetCount( ULONG *pnCount );
Parameters
- pnCount
- [out] Unsigned long integer value that contains the number of items within the enumeration sequence.
Return Value
Returns S_OK if successful, or an error code otherwise.