D3DKMT_DEVICE_ESCAPE structure

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

VidPnFromAllocation.hPrimaryAllocation

[in] The primary allocation handle.

VidPnFromAllocation.VidPnSourceId

[out] The VidPN source ID of the primary allocation.

Requirements

   
Minimum supported client Available in Windows Vista and later versions of the Windows operating systems.
Header d3dkmthk.h (include D3dkmthk.h)

See Also

D3DKMTEscape

D3DKMT_ESCAPE