PFND3D11DDI_QUERYDESIREDMODE1 - NtDoc

Native API online documentation, based on the System Informer (formerly Process Hacker) phnt headers
// d3d10umddi.h

PFND3D11DDI_QUERYDESIREDMODE1 Pfnd3d11ddiQuerydesiredmode1;

HRESULT Pfnd3d11ddiQuerydesiredmode1(
  PFND3DDDI_ESCAPECB unnamedParam1,
  HANDLE unnamedParam2,
  D3D11_UMD_MODE *unnamedParam3
)
{...}
View the official Windows Driver Kit DDI reference

NtDoc

No description available.

Windows Driver Kit DDI reference (nc-d3d10umddi-pfnd3d11ddi_querydesiredmode1)

Description

The PFND3D11DDI_QUERYDESIREDMODE1 function is reserved for system use.

Parameters

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.

Return value

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.

Remarks

For more information, see D3D11On12 open source code.

See also

D3D11_UMD_MODE

PFND3DDDI_ESCAPECB