Nota
Capaian ke halaman ini memerlukan kebenaran. Anda boleh cuba mendaftar masuk atau menukar direktori.
Capaian ke halaman ini memerlukan kebenaran. Anda boleh cuba menukar direktori.
Gets the identifier of the most recent compositor frame of the specified type.
Syntax
HRESULT DCompositionGetFrameId(
COMPOSITION_FRAME_ID_TYPE frameIdType,
COMPOSITION_FRAME_ID *frameId
);
Parameters
frameIdType
Type: COMPOSITION_FRAME_ID_TYPE
The type of the compositor frame.
frameId
Type: COMPOSITION_FRAME_ID*
The identifer of the most recent compositor frame of the specified type.
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 |
| Library | dcomp.lib |
See also
DCompositionGetTargetStatistics, DCompositionGetStatistics, DCompositionBoostCompositorClock, DCompositionWaitForCompositorClock