IComponent::put_Type Method
The put_Type method sets an IComponentType object describing the general characteristics of the component.
Syntax
HRESULT put_Type(
[in] IComponentType *pCT
);
Parameters
- pCT [in]
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
Header | Declared in Dshow.h. |
DLL | Requires Quartz.dll. |
See Also
Send comments about this topic to Microsoft
Build date: 12/4/2008