Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

IDXGISwapChain::GetLastPresentCount method

Gets the number of times that IDXGISwapChain::Present or IDXGISwapChain1::Present1 has been called.

Syntax


HRESULT GetLastPresentCount(
  [out] UINT *pLastPresentCount
);

Parameters

pLastPresentCount [out]

Type: UINT*

A pointer to a variable that receives the number of calls.

Return value

Type: HRESULT

Returns one of the DXGI_ERROR values.

Remarks

For info about presentation statistics for a frame, see DXGI_FRAME_STATISTICS.

Requirements

Header

DXGI.h

Library

DXGI.lib

See also

IDXGISwapChain

 

 

Show:
© 2018 Microsoft