// d3dkmthk.h
typedef struct _D3DKMT_GETPRESENTHISTORY {
[in] D3DKMT_HANDLE hAdapter;
[in] UINT ProvidedSize;
[out] UINT WrittenSize;
[in/out] D3DKMT_PRESENTHISTORYTOKEN *pTokens;
[out] UINT NumTokens;
} D3DKMT_GETPRESENTHISTORY;
View the official Windows Driver Kit DDI referenceNo description available.
The D3DKMT_GETPRESENTHISTORY structure describes the state of copying history.
hAdapter [in]The handle to the graphics adapter.
ProvidedSize [in]Supported in Windows 7 and later versions.
The size, in bytes, of the provided buffer that the pTokens member points to.
WrittenSize [out]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.
pTokens [in/out]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.
NumTokens [out]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.