Bewerken

Delen via


D3DKMT_GETPRESENTHISTORY structure (d3dkmthk.h)

The D3DKMT_GETPRESENTHISTORY structure describes the state of copying history.

Syntax

typedef struct _D3DKMT_GETPRESENTHISTORY {
  [in]     D3DKMT_HANDLE              hAdapter;
  [in]     UINT                       ProvidedSize;
  [out]    UINT                       WrittenSize;
  [in/out] D3DKMT_PRESENTHISTORYTOKEN *pTokens;
  [out]    UINT                       NumTokens;
} D3DKMT_GETPRESENTHISTORY;

Members

[in] hAdapter

The handle to the graphics adapter.

[in] ProvidedSize

Supported in Windows 7 and later versions.

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

[out] WrittenSize

Supported in Windows 7 and later versions.

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.

[in/out] pTokens

Supported in Windows 7 and later versions.

A pointer to the buffer that receives the tokens. Each token is described by a D3DKMT_PRESENTHISTORYTOKEN structure.

[out] NumTokens

Supported in Windows 7 and later versions.

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

Requirements

Requirement Value
Minimum supported client Windows Vista
Header d3dkmthk.h (include D3dkmthk.h)

See also

D3DKMTGetPresentHistory

D3DKMT_PRESENTHISTORYTOKEN