Kommentar
Åtkomst till den här sidan kräver auktorisering. Du kan prova att logga in eller ändra kataloger.
Åtkomst till den här sidan kräver auktorisering. Du kan prova att ändra kataloger.
Retrieves information from the composition engine about composition times and the frame rate.
Syntax
HRESULT GetFrameStatistics(
[out] DCOMPOSITION_FRAME_STATISTICS *statistics
);
Parameters
[out] statistics
Type: DCOMPOSITION_FRAME_STATISTICS*
A structure that receives composition times and frame rate information.
Return value
Type: HRESULT
If the function succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code. See DirectComposition Error Codes for a list of error codes.
Remarks
This method retrieves timing information about the composition engine that an application can use to synchronize the rasterization of bitmaps with independent animations.
Requirements
| Requirement | Value |
|---|---|
| Minimum supported client | Windows 8 [desktop apps only] |
| Minimum supported server | Windows Server 2012 [desktop apps only] |
| Target Platform | Windows |
| Header | dcomp.h |
| Library | Dcomp.lib |
| DLL | Dcomp.dll |