Expand Minimize

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.

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.

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.

DirtyRegions

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

Requirements

Version

D3DKMT_FLIPMODEL_PRESENTHISTORYTOKEN is Supported starting with the Windows 7 operating system.

Header

D3dkmthk.h (include D3dkmthk.h)

See also

D3DDDI_FLIPINTERVAL_TYPE
D3DKMT_DIRTYREGIONS
D3DKMT_FLIPMODEL_PRESENTHISTORYTOKENFLAGS
D3DKMT_PRESENTHISTORYTOKEN

 

 

Send comments about this topic to Microsoft

Show:
© 2014 Microsoft