Bewerken

Delen via


D3DDDI_DRIVERESCAPE_TRANSLATEALLOCATIONEHANDLE structure (d3dukmdt.h)

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

Syntax

typedef struct _D3DDDI_DRIVERESCAPE_TRANSLATEALLOCATIONEHANDLE {
  D3DDDI_DRIVERESCAPETYPE EscapeType;
  D3DKMT_HANDLE           hAllocation;
} D3DDDI_DRIVERESCAPE_TRANSLATEALLOCATIONEHANDLE;

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 DXGKDDI_CREATEALLOCATION.

On return, a handle that can be sent to the kernel-mode driver and used in functions such as DXGKCB_ACQUIREHANDLEDATA, DXGKCB_RELEASEHANDLEDATA, DXGKCB_GETHANDLEDATA, and DXGKCB_GETHANDLEPARENT.

Remarks

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

Requirements

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

See also

D3DDDI_DRIVERESCAPETYPE

DXGKARG_ESCAPE

DXGKDDI_ESCAPE