|Microsoft DirectX 9.0|
The get__MediaMajorType method retrieves the DirectShow media format type as a GUID.
HRESULT get__MediaMajorType( GUID* MediaMajorType );
[out] Pointer to a GUID that will receive the major type.
Returns S_OK if successful. If the method fails, error information can be retrieved using the standard COM IErrorInfo interface.
This method is available through C++ only. Note the two underscores in the method name as compared to the one underscore for the method that uses a BSTR as a parameter.