Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Gets per-target information for the specified composition frame and render target.
Syntax
HRESULT DCompositionGetTargetStatistics(
COMPOSITION_FRAME_ID frameId,
const COMPOSITION_TARGET_ID *targetId,
COMPOSITION_TARGET_STATS *targetStats
);
Parameters
frameId
Type: COMPOSITION_FRAME_ID
The identifier of the composition frame about which to get information.
targetId
Type: COMPOSITION_TARGET_ID*
The identifier of the render target about which to get information.
targetStats
Type: COMPOSITION_TARGET_STATS*
Information about the specified composition frame and render target.
Return value
Type: HRESULT
If the function succeeds, it returns S_OK
; otherwise, it returns an HRESULT
value that indicates the error.
Requirements
Requirement | Value |
---|---|
Minimum supported client | Windows Build 22000 |
Minimum supported server | Windows Build 22000 |
Header | dcomp.h |
See also
DCompositionGetStatistics, DCompositionGetFrameId, DCompositionBoostCompositorClock, DCompositionWaitForCompositorClock