Compartilhar via


IComponentTypes::get_Item

 
Microsoft DirectShow 9.0

IComponentTypes::get_Item

The get_Item method retrieves the IComponentType interface pointer at the specified index number.

Syntax

  HRESULT get_Item(
  VARIANT  Index,
  IComponentType**  ppComponentType
);

Parameters

Index

[in] The index number of the object to retrieve.

ppComponentType

[out] Address of an IComponentType interface pointer that will be set to the object at the specified index.

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