IComponent::put_Type 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 put_Type method sets an IComponentType object describing the general characteristics of the component.
Syntax
HRESULT put_Type(
[in] IComponentType *CT
);
Parameters
[in] CT
Pointer to an IComponentType object that specifies the new values for the component.
Return value
Returns S_OK if successful. If the method fails, error information can be retrieved using the standard COM IErrorInfo interface.
Remarks
Using the IComponent base class interface, it is possible to set the type to be NULL. If you try to do this with the derived IMPEG2Component class interface, this method will return E_POINTER. The IMPEG2Component object cannot have the base IComponentType class interface as the set type - this will return Type Mismatch (0x80020005).
Requirements
Requirement | Value |
---|---|
Minimum supported client | Windows�XP [desktop apps only] |
Minimum supported server | None supported |
Target Platform | Windows |
Header | tuner.h |