// 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 referenceNo description available.
The DXGKARG_ESCAPE structure describes information that the user-mode display driver (UMD) shares with the display miniport driver (KMD).
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.