IComponents::get_Item Method
The get_Item method enables the caller to access a component by index.
Syntax
HRESULT get_Item(
[in] VARIANT Index,
[out] IComponent **ppComponent
);
Parameters
Index [in]
Variable of type VARIANT specifying the zero-based index in the collection.ppComponent [out]
Address of an IComponent interface pointer that will receive the Component 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
Send comments about this topic to Microsoft
Build date: 12/4/2008