IDirect3DSwapChain9Ex::GetLastPresentCount method (d3d9.h)
Returns the number of times the swapchain has been processed.
Syntax
HRESULT GetLastPresentCount(
[out] UINT *pLastPresentCount
);
Parameters
[out] pLastPresentCount
Type: UINT*
Pointer to a UINT to be filled with the number of times the IDirect3DDevice9Ex::PresentEx method has been called. The count will also be incremented by calling some other APIs such as IDirect3DDevice9::SetDialogBoxMode.
Return value
Type: HRESULT
S_OK the method was successful.
Requirements
Requirement | Value |
---|---|
Target Platform | Windows |
Header | d3d9.h |
Library | D3D9.lib |