[DllImport("dwmapi.dll", SetLastError = true)] public static extern int DwmGetCompositionTimingInfo( IntPtr hwnd, ref DWM_TIMING_INFO pTimingInfo );
Microsoft documentation: Link
Last updated 1 year ago