MFMapDX9FormatToDXGIFormat function (mfapi.h)
Converts a Microsoft Direct3D 9 format identifier to a Microsoft DirectX Graphics Infrastructure (DXGI) format identifier.
Syntax
DXGI_FORMAT MFMapDX9FormatToDXGIFormat(
[in] DWORD dx9
);
Parameters
[in] dx9
The D3DFORMAT value or FOURCC code to convert.
Return value
Returns a DXGI_FORMAT value.
Requirements
Requirement | Value |
---|---|
Minimum supported client | Windows 8 [desktop apps only] |
Minimum supported server | Windows Server 2012 [desktop apps only] |
Target Platform | Windows |
Header | mfapi.h |
Library | Mfplat.lib |
DLL | Mfplat.dll |