IPresentationManager::GetPresentRetiringFence method (presentation.h)
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
Requirement | Value |
---|---|
Minimum supported client | Windows Build 22000 |
Minimum supported server | Windows Build 22000 |
Header | presentation.h |
Library | dcomp.lib |
DLL | dcomp.dll |