D3DDDI_DRIVERESCAPETYPE enumeration (d3dukmdt.h)

D3DDDI_DRIVERESCAPETYPE defines the known driver escape types.

Syntax

typedef enum _D3DDDI_DRIVERESCAPETYPE {
  D3DDDI_DRIVERESCAPETYPE_TRANSLATEALLOCATIONHANDLE = 0,
  D3DDDI_DRIVERESCAPETYPE_TRANSLATERESOURCEHANDLE = 1,
  D3DDDI_DRIVERESCAPETYPE_CPUEVENTUSAGE = 2,
  D3DDDI_DRIVERESCAPETYPE_BUILDTESTCOMMANDBUFFER = 3,
  D3DDDI_DRIVERESCAPETYPE_MAX
} D3DDDI_DRIVERESCAPETYPE;

Constants

 
D3DDDI_DRIVERESCAPETYPE_TRANSLATEALLOCATIONHANDLE
Value: 0
Driver escape type to translate allocation handle; used to translate the guest allocation to the corresponding host handle.
D3DDDI_DRIVERESCAPETYPE_TRANSLATERESOURCEHANDLE
Value: 1
Driver escape type to translate resource handle; used to translate the resource handle to the corresponding host handle.
D3DDDI_DRIVERESCAPETYPE_CPUEVENTUSAGE
Value: 2
Driver escape type for CPU event usage; used to notify the kernel-mode driver (KMD) about the intended use of a KMD CPU event object. Available starting in Windows 11 (WDDM 3.0). See Signaling a CPU event from KMD for more information.
D3DDDI_DRIVERESCAPETYPE_BUILDTESTCOMMANDBUFFER
Value: 3
Driver escape type for building a test command buffer; used to build a test command buffer for kernel-mode testing. Available starting in Windows 11, version 24H2 (WDDM 3.2). See Kernel-mode testing for more information.
D3DDDI_DRIVERESCAPETYPE_MAX
The maximum value for this enumeration.

Requirements

Requirement Value
Minimum supported client Windows 10, version 1809
Header d3dukmdt.h

See also

D3DDDI_DRIVERESCAPE_CPUEVENTUSAGE

D3DDDI_DRIVERESCAPETYPE

DXGKARG_ESCAPE

DXGKDDI_ESCAPE