PFND3DDDI_CHECKPRESENTDURATIONSUPPORT callback function (d3dumddi.h)

Called by the Microsoft Direct3D runtime to request that the user-mode display driver get hardware device capabilities for seamlessly switching to a new monitor refresh rate. Optionally implemented by Windows Display Driver Model (WDDM) 1.3 and later user-mode display drivers.

Syntax

PFND3DDDI_CHECKPRESENTDURATIONSUPPORT Pfnd3dddiCheckpresentdurationsupport;

HRESULT Pfnd3dddiCheckpresentdurationsupport(
  HANDLE hDevice,
  D3DDDIARG_CHECKPRESENTDURATIONSUPPORT *unnamedParam2
)
{...}

Parameters

hDevice

A handle to the display device (graphics context).

unnamedParam2

pPresentDurationSupport [in]

A pointer to a D3DDDIARG_CHECKPRESENTDURATIONSUPPORT structure that contains info on hardware device support for seamlessly switching to a new monitor refresh rate.

Return value

If this routine succeeds, it returns S_OK. The driver should always return a success code.

Requirements

Requirement Value
Minimum supported client Windows 8.1,WDDM 1.3 and later
Minimum supported server Windows Server 2012 R2
Target Platform Desktop
Header d3dumddi.h (include D3d10umddi.h)

See also

D3DDDIARG_CHECKPRESENTDURATIONSUPPORT

D3DDDI_DEVICEFUNCS