Microsoft DirectX 8.1 (C++)

IComponentTypes::get_Count

The get_Count method returns the number of component types in the collection.

Syntax

HRESULT get_Count(
  long*  pCount
);

Parameters

pCount

[out] Pointer to a variable of type long that will receive the number of items in the collection.

Return Values

Returns S_OK if successful. If the method fails, error information can be retrieved using the standard COM IErrorInfo interface.

See Also