IPresentationManager::GetPresentRetiringFence method (presentation.h)

Important

Some information relates to a prerelease product which may be substantially modified before it's commercially released. Microsoft makes no warranties, express or implied, with respect to the information provided here.

Gets a fence that signals when a present is retiring.

Syntax

HRESULT GetPresentRetiringFence(
  REFIID riid,
  void   **fence
);

Parameters

riid

Type: REFIID

A reference to the interface identifier (IID) of the interface being queried for.

fence

Type: void**

The address of a pointer to an interface with the IID specified in the riid parameter.

Return value

Type: HRESULT

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

Remarks

This fence will be signaled to the Present ID of each present when that present has begun retiring - that is, a subsequent present has been queued to take its place.

Requirements

   
Header presentation.h