IPresentationManager::GetPresentStatisticsAvailableEvent method (presentation.h)

Gets a handle to an event that signals when present statistics are available to report.

Syntax

HRESULT GetPresentStatisticsAvailableEvent(
  HANDLE *presentStatisticsAvailableEventHandle
);

Parameters

presentStatisticsAvailableEventHandle

Type: HANDLE

A handle to the event.

Return value

Type: HRESULT

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

Remarks

The caller is responsible for closing the returned event.

An application can wait on and query this event, but it cannot modify its state. The presentation manager controls this event.

Requirements

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