Bewerken

Delen via


PFND3DWDDM1_3DDI_RELOCATEDEVICEFUNCS callback function (d3d10umddi.h)

Notifies the user-mode display driver about the new location of the driver function table.

Implemented by Windows Display Driver Model (WDDM) 1.3 and later user-mode display drivers.

Syntax

PFND3DWDDM1_3DDI_RELOCATEDEVICEFUNCS Pfnd3dwddm13DdiRelocatedevicefuncs;

void Pfnd3dwddm13DdiRelocatedevicefuncs(
  D3D10DDI_HDEVICE unnamedParam1,
  D3DWDDM1_3DDI_DEVICEFUNCS *unnamedParam2
)
{...}

Parameters

unnamedParam1

hDevice [in]

A handle to the display device (graphics context).

unnamedParam2

DeviceFuncs [in]

A pointer to a D3DWDDM1_3DDI_DEVICEFUNCS structure that contains pointers to the functions of the user-mode display driver.

Return value

None

Remarks

The driver can use the pfnSetErrorCb callback function to set an error code.

A user-mode display driver can use the RelocateDeviceFuncs(D3D11_2) function to replace function pointers in the driver function table.

Requirements

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

See also

D3DWDDM1_3DDI_DEVICEFUNCS

RelocateDeviceFuncs(D3D11_2)

pfnSetErrorCb