D3DKMT_FLIPMODEL_PRESENTHISTORYTOKEN structure

The D3DKMT_FLIPMODEL_PRESENTHISTORYTOKEN structure identifies a flip present-history operation.

Syntax

typedef struct _D3DKMT_FLIPMODEL_PRESENTHISTORYTOKEN {
  UINT64                                    FenceValue;
  ULONG64                                   hLogicalSurface;
  UINT                                      SwapChainIndex;
  UINT64                                    PresentLimitSemaphoreId;
  D3DDDI_FLIPINTERVAL_TYPE                  FlipInterval;
  D3DKMT_FLIPMODEL_PRESENTHISTORYTOKENFLAGS Flags;
#if (DXGKDDI_INTERFACE_VERSION >= DXGKDDI_INTERFACE_VERSION_WIN8)
  LONG64                                    hCompSurf;
  UINT64                                    CompositionSyncKey;
  UINT                                      RemainingTokens;
  RECT                                      ScrollRect;
  POINT                                     ScrollOffset;
  UINT                                      PresentCount;
  FLOAT                                     RevealColor[4];
  D3DDDI_ROTATION                           Rotation;
  D3DKMT_SCATTERBLTS                        ScatterBlts;
  D3DKMT_HANDLE                             hSyncObject;
#endif
  D3DKMT_DIRTYREGIONS                       DirtyRegions;
} D3DKMT_FLIPMODEL_PRESENTHISTORYTOKEN;

Members

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.

dxgContext

The DirectX graphics context.

VidPnSourceId

The 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.

hCompSurf

This member is reserved and should be set to zero.

Supported starting with Windows 8.

compSurfLuid

confirmationCookie

Confirmation cookie.

CompositionSyncKey

This member is reserved and should be set to zero.

Supported starting with Windows 8.

RemainingTokens

This member is reserved and should be set to zero.

Supported starting with Windows 8.

ScrollRect

This member is reserved and should be set to zero.

Supported starting with Windows 8.

ScrollOffset

This member is reserved and should be set to zero.

Supported starting with Windows 8.

PresentCount

This member is reserved and should be set to zero.

Supported starting with Windows 8.

RevealColor

This member is reserved and should be set to zero.

Supported starting with Windows 8.

Rotation

This member is reserved and should be set to zero.

Supported starting with Windows 8.

ScatterBlts

This member is reserved and should be set to zero.

Supported starting with Windows 8.

hSyncObject

This member is reserved and should be set to zero.

Supported starting with Windows 8.

HDRMetaDataType

HDRMetaDataHDR10

HDRMetaDataHDR10Plus

Reserved

Reserved for internal use.

SourceRect

The source rectangle.

DestWidth

The destination width.

DestHeight

The destination height.

TargetRect

The target rectangle.

Transform

CustomDuration

CustomDurationFlipInterval

PlaneIndex

ColorSpace

The color space of the data.

DirtyRegions

[in] A D3DKMT_DIRTYREGIONS structure that identifies the active rectangles (dirty regions) of the flip surface.

Requirements

   
Minimum supported client D3DKMT_FLIPMODEL_PRESENTHISTORYTOKEN is Supported starting with the Windows 7 operating system.
Header d3dkmthk.h (include D3dkmthk.h)

See Also

D3DKMT_FLIPMODEL_PRESENTHISTORYTOKENFLAGS

D3DDDI_FLIPINTERVAL_TYPE

D3DKMT_PRESENTHISTORYTOKEN

D3DKMT_DIRTYREGIONS