Retrieves the number of items in the collection.
HRESULT GetCount( [in] DWORD* pcElems );
Address of a DWORD that receives the item count.
This method returns an HRESULT. Possible values include, but are not limited to, those in the following table.
The method succeeded.
Requires Windows 7.