Share via


IComponentType::get__MediaFormatType 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__MediaFormatType method retrieves the DirectShow media format type as a GUID.

Syntax

HRESULT get__MediaFormatType(
  [out] GUID *MediaFormatTypeGuid
);

Parameters

[out] MediaFormatTypeGuid

Pointer to a GUID that will receive the format type.

Return value

Returns S_OK if successful. If the method fails, error information can be retrieved using the standard COM IErrorInfo interface.

Remarks

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.

Requirements

   
Minimum supported client Windows�XP [desktop apps only]
Minimum supported server None supported
Target Platform Windows
Header tuner.h

See also

AM_MEDIA_TYPE

IComponentType Interface