IComponentType::get_MediaMajorType 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 get_MediaMajorType method retrieves the DirectShow media major type as a BSTR.
Syntax
HRESULT get_MediaMajorType(
[out] BSTR *MediaMajorType
);
Parameters
[out] MediaMajorType
Pointer to a BSTR that will receive the GUID.
Return value
Returns S_OK if successful. If the method fails, error information can be retrieved using the standard COM IErrorInfo interface.
Requirements
Requirement | Value |
---|---|
Minimum supported client | Windows�XP [desktop apps only] |
Minimum supported server | None supported |
Target Platform | Windows |
Header | tuner.h |