DCompositionGetTargetStatistics function (dcomp.h)
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
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for