D3DKMT_GETPRESENTHISTORY structure

The D3DKMT_GETPRESENTHISTORY structure describes the state of copying history.

Syntax

typedef struct _D3DKMT_GETPRESENTHISTORY {
  D3DKMT_HANDLE              hAdapter;
  UINT                       ProvidedSize;
  UINT                       WrittenSize;
  D3DKMT_PRESENTHISTORYTOKEN *pTokens;
  UINT                       NumTokens;
} D3DKMT_GETPRESENTHISTORY;

Members

hAdapter

[in] The handle to the graphics adapter.

ProvidedSize

Supported in Windows 7 and later versions.

[in] The size, in bytes, of the provided buffer that the pTokens member points to.

WrittenSize

Supported in Windows 7 and later versions.

[out] The size, in bytes, that the D3DKMTGetPresentHistory function copies to the buffer that the pTokens member points to or the required size for first token.

pTokens

Supported in Windows 7 and later versions.

[in/out] A pointer to the buffer that receives the tokens. Each token is described by a D3DKMT_PRESENTHISTORYTOKEN structure.

NumTokens

Supported in Windows 7 and later versions.

[out] The number of tokens that the D3DKMTGetPresentHistory function copies to the buffer that the pTokens member points to.

Requirements

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

See Also

D3DKMTGetPresentHistory

D3DKMT_PRESENTHISTORYTOKEN