// d3d10umddi.h
PFND3D11DDI_QUERYDESIREDMODE1 Pfnd3d11ddiQuerydesiredmode1;
HRESULT Pfnd3d11ddiQuerydesiredmode1(
PFND3DDDI_ESCAPECB unnamedParam1,
HANDLE unnamedParam2,
D3D11_UMD_MODE *unnamedParam3
)
{...}
View the official Windows Driver Kit DDI referenceNo description available.
The PFND3D11DDI_QUERYDESIREDMODE1 function is reserved for system use.
unnamedParam1[in] Pointer to a PFND3DDDI_ESCAPECB function that is a callback to the kernel-mode driver (KMD). UMD can use this pointer to call into their KMD to help inform them of the mode to choose.
unnamedParam2[in] Kernel-mode adapter handle to pass to PFND3DDDI_ESCAPECB
unnamedParam3[out] Pointer to a D3D11_UMD_MODE enumeration that specifies the mode that the UMD wants to run in.
This function is reserved for system use and the Direct3D runtime shouldn't be expected to call it. When enabled, this function queries the D3D11on12 mode that a D3D11 user-mode driver (UMD) wants to run in.
If this callback function succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.
For more information, see D3D11On12 open source code.