8 references to GetCurrentSystemMetrics
System.Windows.Forms (6)
System\Windows\Forms\SystemInformation.cs (6)
69? PInvoke.GetCurrentSystemMetrics(SM_CXVSCROLL, (uint)dpi) 82? PInvoke.GetCurrentSystemMetrics(SM_CYHSCROLL, (uint)dpi) 101? new(PInvoke.GetCurrentSystemMetrics(SM_CXBORDER, (uint)dpi), 102PInvoke.GetCurrentSystemMetrics(SM_CYBORDER, (uint)dpi)) 212=> PInvoke.GetCurrentSystemMetrics(SM_CYVSCROLL, (uint)dpi); 224? PInvoke.GetCurrentSystemMetrics(SM_CXHSCROLL, (uint)dpi)
System.Windows.Forms.Primitives (2)
System\Windows\Forms\Internals\ScaleHelper.cs (2)
429int width = PInvoke.GetCurrentSystemMetrics(SYSTEM_METRICS_INDEX.SM_CXSMICON, (uint)dpi); 430int height = PInvoke.GetCurrentSystemMetrics(SYSTEM_METRICS_INDEX.SM_CYSMICON, (uint)dpi);