D3DKMT_DEVICE_ESCAPE structure (d3dkmthk.h)

Do not use the D3DKMT_DEVICE_ESCAPE structure or D3DKMT_DEVICEESCAPE_TYPE enumeration. They are for testing purposes only.

The D3DKMT_DEVICE_ESCAPE structure describes how to control the display device in a call to the D3DKMTEscape function.

Syntax

typedef struct _D3DKMT_DEVICE_ESCAPE {
        D3DKMT_DEVICEESCAPE_TYPE Type;
  union {
    struct {
      D3DKMT_HANDLE                  hPrimaryAllocation;
      D3DDDI_VIDEO_PRESENT_SOURCE_ID VidPnSourceId;
    } VidPnFromAllocation;
  };
} D3DKMT_DEVICE_ESCAPE;

Members

Type

VidPnFromAllocation

[in] VidPnFromAllocation.hPrimaryAllocation

The primary allocation handle.

[out] VidPnFromAllocation.VidPnSourceId

The VidPN source ID of the primary allocation.

Requirements

Requirement Value
Minimum supported client Windows Vista
Header d3dkmthk.h (include D3dkmthk.h)

See also

D3DKMTEscape

D3DKMT_ESCAPE