Bewerken

Delen via


PFND3D10_1DDI_RELOCATEDEVICEFUNCS callback function (d3d10umddi.h)

The RelocateDeviceFuncs(D3D10_1) function notifies the user-mode display driver about the new location of the driver function table.

Syntax

PFND3D10_1DDI_RELOCATEDEVICEFUNCS Pfnd3d101DdiRelocatedevicefuncs;

void Pfnd3d101DdiRelocatedevicefuncs(
  D3D10DDI_HDEVICE unnamedParam1,
  D3D10_1DDI_DEVICEFUNCS *unnamedParam2
)
{...}

Parameters

unnamedParam1

hDevice [in]

A handle to the display device (graphics context).

unnamedParam2

pDeviceFunctions [in]

A pointer to a D3D10_1DDI_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(D3D10_1) function to replace function pointers in the driver function table.

Requirements

Requirement Value
Minimum supported client RelocateDeviceFuncs(D3D10_1) is supported on Windows Vista with Service Pack 1 (SP1) and later versions and Windows Server 2008 and later versions.
Target Platform Desktop
Header d3d10umddi.h (include D3d10umddi.h)

See also

D3D10_1DDI_DEVICEFUNCS

pfnSetErrorCb