IComponentTypes::Add Method
The Add method adds a new ComponentType object to the collection.
Syntax
HRESULT Add(
[in] IComponentType *pComponentType,
[out] VARIANT *pNewIndex
);
Parameters
pComponentType [in]
Pointer to the IComponentType object that will be added to the collection.pNewIndex [out]
The index number of the component type after it has been added to the collection.
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