PFND3D10DDI_RELOCATEDEVICEFUNCS callback function

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

Syntax

PFND3D10DDI_RELOCATEDEVICEFUNCS Pfnd3d10ddiRelocatedevicefuncs;

void Pfnd3d10ddiRelocatedevicefuncs(
  D3D10DDI_HDEVICE Arg1,
  D3D10DDI_DEVICEFUNCS *Arg2
)
{...}

Parameters

Arg1

hDevice [in]

A handle to the display device (graphics context).

Arg2

pDeviceFunctions [in]

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

Return Value

None

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

Remarks

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

Requirements

   
Minimum supported client Available in Windows Vista and later versions of the Windows operating systems.
Target Platform Desktop
Header d3d10umddi.h (include D3d10umddi.h)

See Also

D3D10DDI_DEVICEFUNCS

pfnSetErrorCb