// d3dkmthk.h
typedef struct _D3DKMT_FLIPMODEL_PRESENTHISTORYTOKEN {
D3DKMT_ALIGN64 UINT64 FenceValue;
D3DKMT_ALIGN64 ULONG64 hLogicalSurface;
D3DKMT_ALIGN64 D3DKMT_UINT_PTR dxgContext;
D3DDDI_VIDEO_PRESENT_SOURCE_ID VidPnSourceId;
UINT SwapChainIndex;
D3DKMT_ALIGN64 UINT64 PresentLimitSemaphoreId;
D3DDDI_FLIPINTERVAL_TYPE FlipInterval;
D3DKMT_FLIPMODEL_PRESENTHISTORYTOKENFLAGS Flags;
D3DKMT_ALIGN64 LONG64 hCompSurf;
LUID compSurfLuid;
D3DKMT_ALIGN64 UINT64 confirmationCookie;
D3DKMT_ALIGN64 UINT64 CompositionSyncKey;
RECT ScrollRect;
POINT ScrollOffset;
UINT PresentCount;
FLOAT RevealColor[4];
D3DDDI_ROTATION Rotation;
union {
D3DKMT_SCATTERBLTS ScatterBlts;
struct {
HANDLE hSyncObject;
D3DDDI_HDR_METADATA_TYPE HDRMetaDataType;
union {
D3DDDI_HDR_METADATA_HDR10 HDRMetaDataHDR10;
D3DDDI_HDR_METADATA_HDR10PLUS HDRMetaDataHDR10Plus;
};
};
};
UINT InkCookie;
RECT SourceRect;
UINT DestWidth;
UINT DestHeight;
RECT TargetRect;
FLOAT Transform[6];
UINT CustomDuration;
D3DDDI_FLIPINTERVAL_TYPE CustomDurationFlipInterval;
UINT PlaneIndex;
D3DDDI_COLOR_SPACE_TYPE ColorSpace;
D3DKMT_DIRTYREGIONS DirtyRegions;
} D3DKMT_FLIPMODEL_PRESENTHISTORYTOKEN;
View the official Windows Driver Kit DDI referenceNo description available.
The D3DKMT_FLIPMODEL_PRESENTHISTORYTOKEN structure identifies a flip present-history operation.
FenceValue[in] A 64-bit value that specifies the fence value that is used for the flip.
hLogicalSurface[in] A 64-bit value that specifies the handle to a logical surface.
dxgContextThe DirectX graphics context.
VidPnSourceIdThe zero-based identification number of the video present source in a path of a video present network (VidPN) topology that the monitor is connected to.
SwapChainIndex[in] The index of the surface in the swap chain that is used for the flip.
PresentLimitSemaphoreId[in] A 64-bit value that identifies the present-limit semaphore.
FlipInterval[in] A D3DDDI_FLIPINTERVAL_TYPE-typed value that indicates the flip interval (that is, if the flip occurs after zero, one, two, three, or four vertical syncs).
Flags[in] A D3DKMT_FLIPMODEL_PRESENTHISTORYTOKENFLAGS structure that identifies, in bit-field flags, attributes of a flip present-history operation.
hCompSurfThis member is reserved and should be set to zero.
Supported starting with Windows 8.
compSurfLuidLUID for the composition surface.
confirmationCookieConfirmation cookie.
CompositionSyncKeyThis member is reserved and should be set to zero.
Supported starting with Windows 8.
RemainingTokensThis member is reserved and should be set to zero.
Supported starting with Windows 8.
ScrollRectThis member is reserved and should be set to zero.
Supported starting with Windows 8.
ScrollOffsetThis member is reserved and should be set to zero.
Supported starting with Windows 8.
PresentCountThis member is reserved and should be set to zero.
Supported starting with Windows 8.
RevealColor[4]This member is reserved and should be set to zero.
Supported starting with Windows 8.
RotationThis member is reserved and should be set to zero.
Supported starting with Windows 8.
ScatterBltsThis member is reserved and should be set to zero.
Supported starting with Windows 8.
hSyncObjectThis member is reserved and should be set to zero.
Supported starting with Windows 8.
InkCookieCookie for token's ink.
SourceRectThe source rectangle.
DestWidthThe destination width.
DestHeightThe destination height.
TargetRectThe target rectangle.
Transform[6]Transformation matrix.
CustomDurationCustom duration of the transition.
CustomDurationFlipIntervalCustom interval of the transition.
PlaneIndexIndex of the plane.
ColorSpaceThe color space of the data.
DirtyRegions[in] A D3DKMT_DIRTYREGIONS structure that identifies the active rectangles (dirty regions) of the flip surface.
HDRMetaDataHDR10HDRMetaDataHDR10PlusHDRMetaDataTypeD3DKMT_FLIPMODEL_PRESENTHISTORYTOKENFLAGS