Bewerken

Delen via


DXGKARG_ESCAPE structure (d3dkmddi.h)

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

Syntax

typedef struct _DXGKARG_ESCAPE {
  [in]     HANDLE             hDevice;
  [in]     D3DDDI_ESCAPEFLAGS Flags;
  [in/out] VOID               *pPrivateDriverData;
  [in/out] UINT               PrivateDriverDataSize;
  [in]     HANDLE             hContext;
           HANDLE             hKmdProcessHandle;
} DXGKARG_ESCAPE;

Members

[in] hDevice

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

[in] Flags

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

[in/out] pPrivateDriverData

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

[in/out] PrivateDriverDataSize

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

[in] hContext

A handle to the context that was originally passed to the display miniport driver's DxgkDdiCreateContext function.

hKmdProcessHandle

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.

Requirements

Requirement Value
Minimum supported client Windows Vista
Header d3dkmddi.h (include D3dkmddi.h)

See also

D3DDDI_ESCAPEFLAGS

DxgkDdiCreateContext

DxgkDdiCreateDevice

DxgkDdiEscape