Expand Minimize

RelocateDeviceFuncs(D3D11_1) routine

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

Syntax


PFND3D11_1DDI_RELOCATEDEVICEFUNCS RelocateDeviceFuncs(D3D11_1);

VOID APIENTRY* RelocateDeviceFuncs(D3D11_1)(
  D3D10DDI_HDEVICE hDevice,
  _In_  struct D3D11_1DDI_DEVICEFUNCS 
)
{ ... }

Parameters

hDevice

A handle to the display device (graphics context).

[in]

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

Return value

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

Remarks

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

Requirements

Minimum supported client

Windows 8

Minimum supported server

Windows Server 2012

Header

D3d10umddi.h (include D3d10umddi.h)

See also

D3D11_1DDI_DEVICEFUNCS
pfnSetErrorCb

 

 

Send comments about this topic to Microsoft

Show:
© 2014 Microsoft