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;
  void          D3DKMT_PTR(
    D3DKMT_PRESENTHISTORYTOKEN *unnamedParam1,
    pTokens                    unnamedParam2
  );
  [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.

void D3DKMT_PTR( D3DKMT_PRESENTHISTORYTOKEN *unnamedParam1, pTokens unnamedParam2)

[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