MFMapDXGIFormatToDX9Format function (mfapi.h)
Converts a Microsoft DirectX Graphics Infrastructure (DXGI) format identifier to a Microsoft Direct3D 9 format identifier.
Syntax
DWORD MFMapDXGIFormatToDX9Format(
[in] DXGI_FORMAT dx11
);
Parameters
[in] dx11
The DXGI_FORMAT value to convert.
Return value
Returns a D3DFORMAT value or FOURCC code.
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 |