MFCreateVideoMediaTypeFromBitMapInfoHeader function (mfapi.h)

This function is not implemented.

Syntax

HRESULT MFCreateVideoMediaTypeFromBitMapInfoHeader(
  const BITMAPINFOHEADER *pbmihBitMapInfoHeader,
  DWORD                  dwPixelAspectRatioX,
  DWORD                  dwPixelAspectRatioY,
  MFVideoInterlaceMode   InterlaceMode,
  QWORD                  VideoFlags,
  QWORD                  qwFramesPerSecondNumerator,
  QWORD                  qwFramesPerSecondDenominator,
  DWORD                  dwMaxBitRate,
  IMFVideoMediaType      **ppIVideoMediaType
);

Parameters

pbmihBitMapInfoHeader

Reserved.

dwPixelAspectRatioX

Reserved.

dwPixelAspectRatioY

Reserved.

InterlaceMode

Reserved.

VideoFlags

Reserved.

qwFramesPerSecondNumerator

Reserved.

qwFramesPerSecondDenominator

Reserved.

dwMaxBitRate

Reserved.

ppIVideoMediaType

Reserved.

Return value

Returns E_FAIL.

Remarks

Note  Prior to Windows 7, this function was exported from evr.dll. Starting in Windows 7, this function is exported from mfplat.dll, and evr.dll exports a stub function that calls into mfplat.dll. For more information, see Library Changes in Windows 7.
 

Requirements

Requirement Value
Minimum supported client Windows Vista [desktop apps only]
Minimum supported server Windows Server 2008 [desktop apps only]
Target Platform Windows
Header mfapi.h
Library Evr.lib
DLL Mfplat.dll

See also

Media Foundation Functions

Media Types