| Microsoft DirectX 8.1 (C++) | 
This topic applies to Windows XP Home Edition and Windows XP Professional only.
The get_Count method retrieves the number of items in the collection.
Syntax
HRESULT get_Count(
  long*  plCount
);
Parameters
plCount
[out] Pointer to a variable that receives the number of items.
Return Values
Returns an HRESULT value. Possible values include the following.
| Value | Description | 
| S_OK | Success. | 
| E_POINTER | NULL pointer argument. | 
See Also