// d3dkmthk.h
typedef struct _D3DKMT_DEVICE_ESCAPE {
D3DKMT_DEVICEESCAPE_TYPE Type;
union {
struct {
D3DKMT_HANDLE hPrimaryAllocation;
D3DDDI_VIDEO_PRESENT_SOURCE_ID VidPnSourceId;
} VidPnFromAllocation;
};
} D3DKMT_DEVICE_ESCAPE;
View the official Windows Driver Kit DDI referenceNo description available.
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.
TypeVidPnFromAllocationVidPnFromAllocation.hPrimaryAllocation [in]The primary allocation handle.
VidPnFromAllocation.VidPnSourceId [out]The VidPN source ID of the primary allocation.