41 references to Interop
System.Drawing.Primitives (41)
_generated\0\LibraryImports.g.cs (2)
15public static unsafe partial bool SystemParametersInfoW(global::Interop.User32.SystemParametersAction uiAction, uint uiParam, void* pvParam, uint fWinIni) 28static extern unsafe int __PInvoke(global::Interop.User32.SystemParametersAction __uiAction_native, uint __uiParam_native, void* __pvParam_native, uint __fWinIni_native);
System\Drawing\KnownColorTable.cs (39)
21(byte)Interop.User32.Win32SystemColors.ActiveBorder, 22(byte)Interop.User32.Win32SystemColors.ActiveCaption, 23(byte)Interop.User32.Win32SystemColors.ActiveCaptionText, 24(byte)Interop.User32.Win32SystemColors.AppWorkspace, 25(byte)Interop.User32.Win32SystemColors.Control, 26(byte)Interop.User32.Win32SystemColors.ControlDark, 27(byte)Interop.User32.Win32SystemColors.ControlDarkDark, 28(byte)Interop.User32.Win32SystemColors.ControlLight, 29(byte)Interop.User32.Win32SystemColors.ControlLightLight, 30(byte)Interop.User32.Win32SystemColors.ControlText, 31(byte)Interop.User32.Win32SystemColors.Desktop, 32(byte)Interop.User32.Win32SystemColors.GrayText, 33(byte)Interop.User32.Win32SystemColors.Highlight, 34(byte)Interop.User32.Win32SystemColors.HighlightText, 35(byte)Interop.User32.Win32SystemColors.HotTrack, 36(byte)Interop.User32.Win32SystemColors.InactiveBorder, 37(byte)Interop.User32.Win32SystemColors.InactiveCaption, 38(byte)Interop.User32.Win32SystemColors.InactiveCaptionText, 39(byte)Interop.User32.Win32SystemColors.Info, 40(byte)Interop.User32.Win32SystemColors.InfoText, 41(byte)Interop.User32.Win32SystemColors.Menu, 42(byte)Interop.User32.Win32SystemColors.MenuText, 43(byte)Interop.User32.Win32SystemColors.ScrollBar, 44(byte)Interop.User32.Win32SystemColors.Window, 45(byte)Interop.User32.Win32SystemColors.WindowFrame, 46(byte)Interop.User32.Win32SystemColors.WindowText, 220(byte)Interop.User32.Win32SystemColors.ButtonFace, 221(byte)Interop.User32.Win32SystemColors.ButtonHighlight, 222(byte)Interop.User32.Win32SystemColors.ButtonShadow, 223(byte)Interop.User32.Win32SystemColors.GradientActiveCaption, 224(byte)Interop.User32.Win32SystemColors.GradientInactiveCaption, 225(byte)Interop.User32.Win32SystemColors.MenuBar, 226(byte)Interop.User32.Win32SystemColors.MenuHighlight, 518? ColorTranslator.COLORREFToARGB(Interop.User32.GetSysColor((byte)ColorValueTable[(int)color])) 524Interop.User32.HIGHCONTRASTW highContrast = default; 528highContrast.cbSize = (uint)sizeof(Interop.User32.HIGHCONTRASTW); 529bool success = Interop.User32.SystemParametersInfoW( 530Interop.User32.SystemParametersAction.SPI_GETHIGHCONTRAST, 535return success && highContrast.dwFlags.HasFlag(Interop.User32.HIGHCONTRASTW_FLAGS.HCF_HIGHCONTRASTON);