PFND3D11DDI_QUERYDESIREDMODE1 callback function (d3d10umddi.h)

The PFND3D11DDI_QUERYDESIREDMODE1 function is reserved for system use.

Syntax

PFND3D11DDI_QUERYDESIREDMODE1 Pfnd3d11ddiQuerydesiredmode1;

HRESULT Pfnd3d11ddiQuerydesiredmode1(
  PFND3DDDI_ESCAPECB unnamedParam1,
  HANDLE unnamedParam2,
  D3D11_UMD_MODE *unnamedParam3
)
{...}

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.

Requirements

Requirement Value
Minimum supported client Windows 11, version 24H2 (WDDM 3.2)
Header d3d10umddi.h

See also

D3D11_UMD_MODE

PFND3DDDI_ESCAPECB