Share via


IComponents::EnumComponents Method

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

Syntax

HRESULT EnumComponents(
  [out]  IEnumComponents **ppNewEnum
);

Parameters

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

Return Value

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.

Requirements

Header Declared in Dshow.h.
DLL Requires Quartz.dll.

See Also

IComponents Interface

Send comments about this topic to Microsoft

Build date: 12/4/2008