Microsoft DirectX 8.1 (C++)

IComponents::get_Count

The get_Count method gets the number of Component objects in the collection.

Syntax

HRESULT get_Count(
  long*  pCount
);

Parameters

pCount

[out] Pointer to a variable of type long that receives the number of components.

Return Values

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

See Also