D3DDDI_DRIVERESCAPE_TRANSLATEALLOCATIONEHANDLE - NtDoc

Native API online documentation, based on the System Informer (formerly Process Hacker) phnt headers
// d3dukmdt.h

typedef struct _D3DDDI_DRIVERESCAPE_TRANSLATEALLOCATIONEHANDLE {
  D3DDDI_DRIVERESCAPETYPE EscapeType;
  D3DKMT_HANDLE           hAllocation;
} D3DDDI_DRIVERESCAPE_TRANSLATEALLOCATIONEHANDLE;
View the official Windows Driver Kit DDI reference

NtDoc

No description available.

Windows Driver Kit DDI reference (ns-d3dukmdt-_d3dddi_driverescape_translateallocationehandle)

D3DDDI_DRIVERESCAPE_TRANSLATEALLOCATIONEHANDLE structure

Description

The D3DDDI_DRIVERESCAPE_TRANSLATEALLOCATIONEHANDLE structure is used to translate the guest allocation to the corresponding host handle.

Members

EscapeType

[in] A D3DDDI_DRIVERESCAPETYPE. Must be set to D3DDDI_DRIVERESCAPETYPE_TRANSLATEALLOCATIONHANDLE.

hAllocation

[in/out] On entry, a handle to a DirectX graphics allocation that was returned from DxgkddiCreateAllocation.

On return, a handle that can be sent to the kernel-mode driver and used in functions such as DxgkcbAcquirehandledata, DxgkcbReleasehandledata, DxcbGethandledata, and DxgkcbGethandleparent.

Remarks

The D3DDDI_DRIVERESCAPE_TRANSLATEALLOCATIONEHANDLE structure is used with the D3DDDI_DRIVERESCAPETYPE_TRANSLATEALLOCATIONHANDLE known escape type.

See also

D3DDDI_DRIVERESCAPETYPE

DXGKARG_ESCAPE

DxgkddiEscape

D3DKMTEscape