// d3dukmdt.h
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;
View the official Windows Driver Kit DDI referenceNo description available.
D3DDDI_DRIVERESCAPETYPE defines the known driver escape types (D3DDDI_ESCAPEFLAGS::DriverKnownEscape).
D3DDDI_DRIVERESCAPETYPE_TRANSLATEALLOCATIONHANDLE:0Driver escape type to translate allocation handle; used to translate the guest allocation to the corresponding host handle. For more information, see GPU paravirtualization.
D3DDDI_DRIVERESCAPETYPE_TRANSLATERESOURCEHANDLE:1Driver escape type to translate resource handle; used to translate the resource handle to the corresponding host handle. For more information, see GPU paravirtualization.
D3DDDI_DRIVERESCAPETYPE_CPUEVENTUSAGE:2Driver 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:3Driver 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_MAXThe maximum value for this enumeration.
D3DDDI_DRIVERESCAPE_CPUEVENTUSAGE
D3DDDI_DRIVERESCAPETYPE