共用方式為


IComponentTypes::EnumComponentTypes

 
Microsoft DirectShow 9.0

IComponentTypes::EnumComponentTypes

The EnumComponentTypes method returns an IEnumComponentTypes enumerator for all component types in the collection.

Syntax

  HRESULT EnumComponentTypes(
  IEnumComponentTypes**  ppNewEnum
);

Parameters

ppNewEnum

[out] Address of an IEnumComponentTypes interface pointer that will receive the new collection.

Return Values

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

Requirements

Header: Dshow.h.

Library: Quartz.dll.

See Also