Share via


IComponentTypes::get_Item Method

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

Syntax

HRESULT get_Item(
  [in]   VARIANT Index,
  [out]  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 Value

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

Requirements

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

See Also

IComponentTypes Interface

Send comments about this topic to Microsoft

Build date: 12/4/2008