PFND3D11DDI_RELOCATEDEVICEFUNCS callback function

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

Syntax


PFND3D11DDI_RELOCATEDEVICEFUNCS RelocateDeviceFuncs;

VOID APIENTRY RelocateDeviceFuncs(
  _In_ D3D10DDI_HDEVICE            hDevice,
  _In_ struct D3D11DDI_DEVICEFUNCS *pDeviceFunctions
)
{ ... }

Parameters

hDevice [in]

A handle to the display device (graphics context).

pDeviceFunctions [in]

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

Requirements

Target platform

Desktop

Version

RelocateDeviceFuncs(D3D11) is supported beginning with the Windows 7 operating system.

Header

D3d10umddi.h (include D3d10umddi.h)

See also

D3D11DDI_DEVICEFUNCS
pfnSetErrorCb

 

 

Send comments about this topic to Microsoft

Show: