IComponentTypes::Add method (tuner.h)
[The feature associated with this page, Microsoft TV Technologies, is a legacy feature. Microsoft strongly recommends that new code does not use this feature.]
The Add method adds a new ComponentType object to the collection.
HRESULT Add(
[in] IComponentType *ComponentType,
[out] VARIANT *NewIndex
);
[in] ComponentType
Pointer to the IComponentType object that will be added to the collection.
[out] NewIndex
The index number of the component type after it has been added to the collection.
Returns S_OK if successful. If the method fails, error information can be retrieved using the standard COM IErrorInfo interface.
Requirement | Value |
---|---|
Minimum supported client | Windows�XP [desktop apps only] |
Minimum supported server | None supported |
Target Platform | Windows |
Header | tuner.h |