Microsoft DirectX 8.1 (C++) |
The put_MediaMajorType method sets the DirectShow media major type.
Syntax
HRESULT put_MediaMajorType(
BSTR MediaMajorType
);
Parameters
MediaMajorType
[in] BSTR that specifies the GUID.
Return Values
Returns S_OK if successful. If the method fails, error information can be retrieved using the standard COM IErrorInfo interface.
See Also