IDirect3DSwapChain9Ex::GetLastPresentCount method

Returns the number of times the swapchain has been processed.

Syntax


HRESULT GetLastPresentCount(
  [out]  UINT *pLastPresentCount
);

Parameters

pLastPresentCount [out]

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

Header

D3d9.h

Library

D3D9.lib

See also

IDirect3DSwapChain9Ex

 

 

Community Additions

ADD
Show:
© 2014 Microsoft