Retrieves the number of properties in the property bag.
Syntax
HRESULT CountProperties( ULONG *pcProperties );
Parameters
- pcProperties
- [out] Address of a ULONG that receives the number of properties in the property bag.
Return Value
Returns S_OK if the method was successful, or E_POINTER if pcProperties is not valid.