IPresentationManager::GetNextPresentStatistics method (presentation.h)

Gets the next present statistics item in the queue.

Syntax

HRESULT GetNextPresentStatistics(
  IPresentStatistics **nextPresentStatistics
);

Parameters

nextPresentStatistics

Type: IPresentStatistics **

A pointer to the next present statistics item in the queue , or nullptr if the queue is empty.

Return value

Type: HRESULT

If the function succeeds, it returns S_OK; otherwise, it returns an HRESULT value that indicates the error.

Remarks

If the present statistics queue is empty, no error will be returned. Instead, nullptr will be returned in the out parameter.

Requirements

Requirement Value
Minimum supported client Windows Build 22000
Minimum supported server Windows Build 22000
Header presentation.h
Library dcomp.lib
DLL dcomp.dll