DXGKARG_ESCAPE - NtDoc

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

typedef struct _DXGKARG_ESCAPE {
  [in]     HANDLE             hDevice;
  [in]     D3DDDI_ESCAPEFLAGS Flags;
  [in/out] VOID               *pPrivateDriverData;
  [in/out] UINT               PrivateDriverDataSize;
  [in]     HANDLE             hContext;
  [in]     HANDLE             hKmdProcessHandle;
} DXGKARG_ESCAPE;
View the official Windows Driver Kit DDI reference

NtDoc

No description available.

Windows Driver Kit DDI reference (ns-d3dkmddi-_dxgkarg_escape)

DXGKARG_ESCAPE structure

Description

The DXGKARG_ESCAPE structure describes information that the user-mode display driver (UMD) shares with the display miniport driver (KMD).

Members

hDevice [in]

A handle to the display device (graphics context) that was originally passed to KMD's DxgkDdiCreateDevice function.

Flags [in]

A D3DDDI_ESCAPEFLAGS structure that indicates, in bit-field flags, how to share information.

pPrivateDriverData [in/out]

A pointer to a buffer that contains the information that the display miniport driver and the user-mode display driver share.

PrivateDriverDataSize [in/out]

The size, in bytes, of the buffer that pPrivateDriverData points to.

hContext [in]

A handle to the context that was originally passed to KMD's DxgkDdiCreateContext function.

hKmdProcessHandle [in]

A driver handle that is returned by the KMD from the call to DxgkDdiCreateProcess. The driver must check the handle for NULL. The handle is created when the first DXG device is created for a process. The handle is destroyed when the last adapter handle is closed for a process.

See also

D3DDDI_ESCAPEFLAGS

DxgkDdiCreateProcess

DxgkDdiCreateDevice

DxgkDdiEscape