Microsoft DirectX 9.0

IComponents::EnumComponents

The EnumComponents method returns an enumerator for the components in the collection.

Syntax

HRESULT EnumComponents(
  IEnumComponents**  ppNewEnum
);

Parameters

ppNewEnum

[out] Address of a variable that receives an IEnumComponents interface pointer.

Return Values

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

Remarks

If the method succeeds, the IEnumComponents interface has an outstanding reference count. The caller must release the interface.

See Also