@msdn=https://docs.microsoft.com/en-us/windows/win32/api/dwmapi/nf-dwmapi-dwmgetcompositiontiminginfo @pinvoke=http://pinvoke.net/$$$.htm Summary: Retrieves the current composition timing information of DWM. !!!!C# Signature: [DllImport("dwmapi")] public static extern DWMAPI DwmGetCompositionTimingInfo(IntPtr hwnd, ref DWM_TIMING_INFO pTimingInfo); !!!!Notes: The return value type DWMAPI is just a uint, you can replace it with HRESULT as well. The first parameter hwnd must be set to NULL (IntPtr.Zero) since Windows 8.1, before Windows 8.1 it works as well so just don't bother and set it to IntPtr.Zero and call it a day. The second parameter pTimingInfo is a [DWM_TIMING_INFO] , check it's page for information on how to use it. Documentation: DwmGetCompositionTimingInfo@msdn on MSDN
Edit dwmapi.DwmGetComp...
You do not have permission to change this page. If you feel this is in error, please send feedback with the contact link on the main page.