Export (0) Print
Expand All
Expand Minimize
This topic has not yet been rated - Rate this topic

MFGetUncompressedVideoFormat function

[This API is not supported and may be altered or unavailable in the future. Applications should avoid using the MFVIDEOFORMAT structure, and use media type attributes instead. For more information, see Video Media Types.]

Returns the FOURCC or D3DFORMAT value for an uncompressed video format.

Syntax


DWORD MFGetUncompressedVideoFormat(
  _In_  const MFVIDEOFORMAT *pVideoFormat
);

Parameters

pVideoFormat [in]

Pointer to an MFVIDEOFORMAT structure.

Return value

Returns a FOURCC or D3DFORMAT value that identifies the video format. If the video format is compressed or not recognized, the return value is D3DFMT_UNKNOWN.

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

Minimum supported client

Windows Vista [desktop apps only]

Minimum supported server

Windows Server 2008 [desktop apps only]

Header

Mfapi.h

Library

Evr.lib

DLL

Mfplat.dll

See also

Media Foundation Functions
Media Types
Video Media Types

 

 

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft. All rights reserved.