19 references to SYSTEM_METRICS_INDEX
System.Private.Windows.Core (1)
Generated\Basic.CompilerLog.Util\Basic.CompilerLog.Util.Impl.BasicGeneratedFilesAnalyzerReference\Windows.Win32.PInvokeCore.USER32.dll.g.cs (1)
618 internal static extern int GetSystemMetrics(winmdroot.UI.WindowsAndMessaging.SYSTEM_METRICS_INDEX nIndex);
System.Windows.Forms (9)
System\Windows\Forms\Controls\MonthCalendar\MonthCalendar.CalendarButtonAccessibleObject.cs (5)
72bool mouseSwapped = PInvokeCore.GetSystemMetrics(SYSTEM_METRICS_INDEX.SM_SWAPBUTTON) != 0; 93int vscreenWidth = PInvokeCore.GetSystemMetrics(SYSTEM_METRICS_INDEX.SM_CXVIRTUALSCREEN); 94int vscreenHeight = PInvokeCore.GetSystemMetrics(SYSTEM_METRICS_INDEX.SM_CYVIRTUALSCREEN); 95int vscreenLeft = PInvokeCore.GetSystemMetrics(SYSTEM_METRICS_INDEX.SM_XVIRTUALSCREEN); 96int vscreenTop = PInvokeCore.GetSystemMetrics(SYSTEM_METRICS_INDEX.SM_YVIRTUALSCREEN);
System\Windows\Forms\Controls\TrackBar\TrackBar.cs (1)
423int cyhscroll = PInvokeCore.GetSystemMetrics(SYSTEM_METRICS_INDEX.SM_CYHSCROLL);
System\Windows\Forms\SystemInformation.cs (3)
11using static Windows.Win32.UI.WindowsAndMessaging.SYSTEM_METRICS_INDEX; 814private static Size GetSize(SYSTEM_METRICS_INDEX x, SYSTEM_METRICS_INDEX y)
System.Windows.Forms.Primitives (9)
Generated\Basic.CompilerLog.Util\Basic.CompilerLog.Util.Impl.BasicGeneratedFilesAnalyzerReference\Windows.Win32.PInvoke.USER32.dll.g.cs (2)
2056 internal static int GetSystemMetricsForDpi(winmdroot.UI.WindowsAndMessaging.SYSTEM_METRICS_INDEX nIndex, uint dpi) 2064 static extern int LocalExternFunction(winmdroot.UI.WindowsAndMessaging.SYSTEM_METRICS_INDEX nIndex, uint dpi);
System\Windows\Forms\Internals\ScaleHelper.cs (6)
351PInvokeCore.GetSystemMetrics(SYSTEM_METRICS_INDEX.SM_CXICON), 352PInvokeCore.GetSystemMetrics(SYSTEM_METRICS_INDEX.SM_CYICON)); 356PInvoke.GetSystemMetricsForDpi(SYSTEM_METRICS_INDEX.SM_CXSMICON, OneHundredPercentLogicalDpi), 357PInvoke.GetSystemMetricsForDpi(SYSTEM_METRICS_INDEX.SM_CXSMICON, OneHundredPercentLogicalDpi)) 474int width = PInvoke.GetCurrentSystemMetrics(SYSTEM_METRICS_INDEX.SM_CXSMICON, (uint)dpi); 475int height = PInvoke.GetCurrentSystemMetrics(SYSTEM_METRICS_INDEX.SM_CYSMICON, (uint)dpi);
Windows\Win32\PInvoke.GetSystemMetrics.cs (1)
12public static int GetCurrentSystemMetrics(SYSTEM_METRICS_INDEX nIndex, uint dpi)