Note

Access to this page requires authorization. You can try signing in or .

Access to this page requires authorization. You can try .

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

See also

IDirect3DSwapChain9Ex


Feedback

Was this page helpful?

Additional resources