146 references to User32
WindowsBase (146)
Shared\MS\Win32\HwndSubclass.cs (1)
62IntPtr hModuleUser32 = UnsafeNativeMethods.GetModuleHandle(ExternDll.User32);
Shared\MS\Win32\ManagedWndProcTracker.cs (1)
231IntPtr hModule = UnsafeNativeMethods.GetModuleHandle(ExternDll.User32);
Shared\MS\Win32\SafeNativeMethodsCLR.cs (38)
875[DllImport(ExternDll.User32, ExactSpelling = true, CharSet = CharSet.Auto)] 878[DllImport(ExternDll.User32, ExactSpelling = true, CharSet = System.Runtime.InteropServices.CharSet.Auto)] 881[DllImport(ExternDll.User32, ExactSpelling = true, CharSet = System.Runtime.InteropServices.CharSet.Auto)] 884[DllImport(ExternDll.User32, EntryPoint = "ReleaseCapture", ExactSpelling = true, CharSet = System.Runtime.InteropServices.CharSet.Auto, SetLastError = true)] 887[DllImport(ExternDll.User32, EntryPoint = "GetWindowRect", ExactSpelling = true, CharSet = CharSet.Auto, SetLastError = true)] 890[DllImport(ExternDll.User32, EntryPoint = "GetClientRect", ExactSpelling = true, CharSet = CharSet.Auto, SetLastError = true)] 893[DllImport(ExternDll.User32, EntryPoint = "AdjustWindowRectEx", ExactSpelling = true, CharSet = System.Runtime.InteropServices.CharSet.Auto, SetLastError = true)] 896[DllImport(ExternDll.User32, ExactSpelling=true)] 899[DllImport(ExternDll.User32, ExactSpelling = true)] 902[DllImport(ExternDll.User32, ExactSpelling=true, CharSet=CharSet.Auto)] 905[DllImport(ExternDll.User32, ExactSpelling=true, CharSet=CharSet.Auto)] 908[DllImport(ExternDll.User32, SetLastError = true, ExactSpelling=true, CharSet=System.Runtime.InteropServices.CharSet.Auto)] 911[DllImport(ExternDll.User32, EntryPoint="SetTimer", CharSet = System.Runtime.InteropServices.CharSet.Auto)] 914[DllImport(ExternDll.User32, ExactSpelling=true, CharSet=System.Runtime.InteropServices.CharSet.Auto)] 917[DllImport(ExternDll.User32, ExactSpelling=true, CharSet=System.Runtime.InteropServices.CharSet.Auto)] 920[DllImport(ExternDll.User32, ExactSpelling=true, CharSet=CharSet.Auto)] 923[DllImport(ExternDll.User32, ExactSpelling = true, CharSet = System.Runtime.InteropServices.CharSet.Auto)] 926[DllImport(ExternDll.User32, ExactSpelling=true, CharSet=System.Runtime.InteropServices.CharSet.Auto)] 929[DllImport(ExternDll.User32, ExactSpelling = true, CharSet = System.Runtime.InteropServices.CharSet.Auto)] 932[DllImport(ExternDll.User32, EntryPoint = "GetMonitorInfo", CharSet = CharSet.Auto, SetLastError = true)] 935[DllImport(ExternDll.User32, SetLastError = true, ExactSpelling = true)] 939[DllImport(ExternDll.User32, CharSet = CharSet.Auto)] 942[DllImport(ExternDll.User32, ExactSpelling = true, CharSet = CharSet.Auto)] 945[DllImport(ExternDll.User32, ExactSpelling = true, CharSet = CharSet.Auto)] 948[DllImport(ExternDll.User32, ExactSpelling = true, CharSet = CharSet.Auto)] 951[DllImport(ExternDll.User32, ExactSpelling=true, SetLastError=true)] 954[DllImport(ExternDll.User32, CharSet=System.Runtime.InteropServices.CharSet.Auto, SetLastError = true)] 965[DllImport(ExternDll.User32, EntryPoint="ScreenToClient", SetLastError=true, ExactSpelling=true, CharSet=CharSet.Auto)] 969[DllImport(ExternDll.User32)] 1048[DllImport(ExternDll.User32, CallingConvention = CallingConvention.Winapi, SetLastError = true)] 1075[DllImport(ExternDll.User32, CallingConvention = CallingConvention.Winapi)] 1100[DllImport(ExternDll.User32, CallingConvention = CallingConvention.Winapi)] 1123[DllImport(ExternDll.User32, CallingConvention = CallingConvention.Winapi)] 1147[DllImport(ExternDll.User32, CallingConvention = CallingConvention.Winapi, SetLastError = true)] 1170[DllImport(ExternDll.User32, CharSet = CharSet.Unicode, CallingConvention = CallingConvention.Winapi)] 1192[DllImport(ExternDll.User32, CallingConvention = CallingConvention.Winapi)] 1210[DllImport(ExternDll.User32, CallingConvention = CallingConvention.Winapi)] 1225[DllImport(ExternDll.User32, CallingConvention = CallingConvention.Winapi)]
Shared\MS\Win32\SafeNativeMethodsOther.cs (7)
293[DllImport(ExternDll.User32, CharSet = CharSet.Auto)] 305[DllImport(ExternDll.User32, SetLastError=true, CharSet=CharSet.Auto)] 308[DllImport(ExternDll.User32, SetLastError=true, CharSet=CharSet.Auto)] 312[DllImport(ExternDll.User32, SetLastError=true, CharSet=CharSet.Auto)] 319[DllImport(ExternDll.User32, CharSet = System.Runtime.InteropServices.CharSet.Auto)] 322[DllImport(ExternDll.User32, ExactSpelling = true, CharSet = CharSet.Auto)] 338[DllImport(ExternDll.User32, ExactSpelling = true, CharSet = System.Runtime.InteropServices.CharSet.Auto)]
Shared\MS\Win32\UnsafeNativeMethodsCLR.cs (72)
146[DllImport(ExternDll.User32, CharSet = System.Runtime.InteropServices.CharSet.Auto, BestFitMapping = false)] 154[DllImport(ExternDll.User32, EntryPoint = "SetWindowPos", ExactSpelling = true, CharSet = System.Runtime.InteropServices.CharSet.Auto, SetLastError = true)] 161[DllImport(ExternDll.User32, ExactSpelling = true, CharSet = System.Runtime.InteropServices.CharSet.Auto, SetLastError = true)] 172[DllImport(ExternDll.User32, EntryPoint = "IsProcessDPIAware", CharSet = CharSet.Auto, SetLastError = true)] 186[DllImport(ExternDll.User32, EntryPoint = "EnableNonClientDpiScaling", CharSet = CharSet.Auto, SetLastError = true)] 193[DllImport(ExternDll.User32, SetLastError = true, CharSet = System.Runtime.InteropServices.CharSet.Auto, BestFitMapping = false)] 200[DllImport(ExternDll.User32, SetLastError = true, CharSet = System.Runtime.InteropServices.CharSet.Auto, BestFitMapping = false)] 235[DllImport(ExternDll.User32, EntryPoint = "FillRect", SetLastError = true, CharSet = CharSet.Auto)] 249[DllImport(ExternDll.User32, ExactSpelling = true, CharSet = System.Runtime.InteropServices.CharSet.Auto)] 311[DllImport(ExternDll.User32, CharSet = System.Runtime.InteropServices.CharSet.Auto, BestFitMapping = false, SetLastError = true)] 319[DllImport(ExternDll.User32, SetLastError = true, CharSet = System.Runtime.InteropServices.CharSet.Auto, BestFitMapping = false)] 330[DllImport(ExternDll.User32, EntryPoint="PrintWindow", SetLastError = true, ExactSpelling = true, CharSet = System.Runtime.InteropServices.CharSet.Auto)] 338[DllImport(ExternDll.User32, EntryPoint="RedrawWindow", ExactSpelling = true, CharSet = System.Runtime.InteropServices.CharSet.Auto)] 442[DllImport(ExternDll.User32, EntryPoint="GetKeyboardState", CharSet=CharSet.Auto, SetLastError=true)] 510[DllImport(ExternDll.User32, ExactSpelling=true, CharSet=CharSet.Auto)] 519[DllImport(ExternDll.User32, CharSet=CharSet.Auto)] 528[DllImport(ExternDll.User32, CharSet=CharSet.Auto, EntryPoint="PostThreadMessage", SetLastError=true)] 576[DllImport(ExternDll.User32, ExactSpelling=true, CharSet=CharSet.Auto)] 724[DllImport(ExternDll.User32, ExactSpelling=true, CharSet=CharSet.Auto)] 731[DllImport(ExternDll.User32, EntryPoint = "GetCursorPos", ExactSpelling = true, CharSet = CharSet.Auto, SetLastError = true)] 752[DllImport(ExternDll.User32, EntryPoint = "GetCursorPos", ExactSpelling = true, CharSet = CharSet.Auto)] 783[DllImport(ExternDll.User32, ExactSpelling=true, CharSet=System.Runtime.InteropServices.CharSet.Auto)] 792[DllImport(ExternDll.User32, ExactSpelling=true, CharSet=CharSet.Auto)] 816[DllImport(ExternDll.User32, ExactSpelling=true, CharSet=System.Runtime.InteropServices.CharSet.Auto)] 1111[DllImport(ExternDll.User32, ExactSpelling = true, CharSet = CharSet.Auto)] 1118[DllImport(ExternDll.User32, SetLastError = true, ExactSpelling=true, CharSet=CharSet.Auto)] 1136[DllImport(ExternDll.User32, ExactSpelling=true, CharSet=CharSet.Auto)] 1170[DllImport(ExternDll.User32, CharSet=CharSet.Auto)] 1179[DllImport(ExternDll.User32, CharSet = CharSet.Unicode, EntryPoint = "DefWindowProcW")] 1440[DllImport(ExternDll.User32)] 1449[DllImport(ExternDll.User32, SetLastError = true, CharSet=CharSet.Auto, BestFitMapping = false)] 1457[DllImport(ExternDll.User32, SetLastError = true, CharSet = CharSet.Auto, BestFitMapping = false)] 1465[DllImport(ExternDll.User32, SetLastError = true, CharSet = CharSet.Auto, BestFitMapping = false)] 1473[DllImport(ExternDll.User32, SetLastError = true, CharSet = CharSet.Auto, BestFitMapping = false)] 1481[DllImport(ExternDll.User32, SetLastError = true, CharSet = CharSet.Auto, BestFitMapping = false)] 1496[DllImport(ExternDll.User32, EntryPoint="ClientToScreen", SetLastError=true, ExactSpelling=true, CharSet=CharSet.Auto)] 1515[DllImport(ExternDll.User32, ExactSpelling=true, CharSet=CharSet.Auto)] 1524[DllImport(ExternDll.User32, ExactSpelling=true, CharSet=CharSet.Auto)] 1550[DllImport(ExternDll.User32, CharSet=CharSet.Auto)] 1555[DllImport(ExternDll.User32, BestFitMapping = false, CharSet=CharSet.Auto)] 1565[DllImport(ExternDll.User32, EntryPoint = "PostMessage", CharSet = CharSet.Auto, SetLastError = true)] 1585[DllImport(ExternDll.User32, EntryPoint = "PostMessage", CharSet = CharSet.Auto)] 1594[DllImport(ExternDll.User32, ExactSpelling = true, CharSet = CharSet.Auto)] 1602[DllImport(ExternDll.User32, ExactSpelling = true, EntryPoint = "BeginPaint", CharSet = CharSet.Auto)] 1618[DllImport(ExternDll.User32, ExactSpelling = true, EntryPoint = "EndPaint", CharSet = CharSet.Auto)] 1635[DllImport(ExternDll.User32, SetLastError = true, ExactSpelling = true, EntryPoint = "GetDC", CharSet = CharSet.Auto)] 1662[DllImport(ExternDll.User32, ExactSpelling = true, EntryPoint = "ReleaseDC", CharSet = CharSet.Auto)] 1687[DllImport(ExternDll.User32, ExactSpelling=true, CharSet=CharSet.Auto)] 1695[DllImport(ExternDll.User32, ExactSpelling=true, CharSet=CharSet.Auto)] 1730[DllImport(ExternDll.User32, ExactSpelling=true, CharSet=CharSet.Auto, SetLastError=true)] 1739[DllImport(ExternDll.User32, ExactSpelling = true, CharSet = CharSet.Auto, SetLastError = true)] 1747[DllImport(ExternDll.User32, SetLastError = true)] 1763[DllImport(ExternDll.User32, ExactSpelling=true, EntryPoint="DestroyCursor", CharSet=CharSet.Auto)] 1779[DllImport(ExternDll.User32, EntryPoint="DestroyIcon", CharSet=System.Runtime.InteropServices.CharSet.Auto, SetLastError=true)] 1892[DllImport(ExternDll.User32, SetLastError = true, ExactSpelling = true, CharSet = CharSet.Auto, EntryPoint = "DestroyIcon")] 1917[DllImport(ExternDll.User32, SetLastError = true, ExactSpelling = true, CharSet = CharSet.Auto, EntryPoint = "CreateIconIndirect")] 1940[DllImport(ExternDll.User32, ExactSpelling=true, CharSet=CharSet.Auto)] 1991[DllImport(ExternDll.User32, SetLastError=true, EntryPoint="GetMessageW", ExactSpelling=true, CharSet=CharSet.Unicode)] 2026[DllImport(ExternDll.User32, EntryPoint="WindowFromPoint", ExactSpelling=true, CharSet=CharSet.Auto)] 2043[DllImport(ExternDll.User32, EntryPoint="CreateWindowEx", CharSet=CharSet.Auto, BestFitMapping = false, SetLastError=true)] 2070[DllImport(ExternDll.User32, SetLastError = true, EntryPoint="DestroyWindow", CharSet=CharSet.Auto)] 2088[DllImport(ExternDll.User32)] 2095[DllImport(ExternDll.User32)] 2119[DllImport(ExternDll.User32, EntryPoint = "EnumChildWindows", ExactSpelling = true)] 2127[DllImport(ExternDll.User32, SetLastError = true, CharSet = CharSet.Auto)] 2135[DllImport(ExternDll.User32, SetLastError = true, CharSet = CharSet.Auto)] 4208[DllImport(ExternDll.User32, SetLastError=true, CharSet=CharSet.Auto)] 4218[DllImport(ExternDll.User32, SetLastError=true, CharSet=CharSet.Auto)] 4237[DllImport(ExternDll.User32, CallingConvention = CallingConvention.Winapi)] 4260[DllImport(ExternDll.User32, CallingConvention = CallingConvention.Winapi)] 4276[DllImport(ExternDll.User32, CallingConvention = CallingConvention.Winapi)] 4342[DllImport(ExternDll.User32, CallingConvention = CallingConvention.Winapi)]
Shared\MS\Win32\UnsafeNativeMethodsOther.cs (27)
85[DllImport(ExternDll.User32, CharSet = System.Runtime.InteropServices.CharSet.Auto, SetLastError=true)] 92[DllImport(ExternDll.User32, SetLastError = true)] 99[DllImport(ExternDll.User32, SetLastError = true)] 106[DllImport(ExternDll.User32, SetLastError = true)] 113[DllImport(ExternDll.User32, ExactSpelling = true, CharSet = System.Runtime.InteropServices.CharSet.Auto)] 116[DllImport(ExternDll.User32, EntryPoint="LoadImage", CharSet = System.Runtime.InteropServices.CharSet.Auto, SetLastError = true, BestFitMapping = false, ThrowOnUnmappableChar = true)] 119[DllImport(ExternDll.User32, EntryPoint="LoadImage", CharSet = System.Runtime.InteropServices.CharSet.Auto, SetLastError = true, BestFitMapping = false, ThrowOnUnmappableChar = true)] 280[DllImport(ExternDll.User32, CharSet = CharSet.Auto)] 315[DllImport(ExternDll.User32, EntryPoint="MsgWaitForMultipleObjectsEx", SetLastError=true, ExactSpelling = true, CharSet = CharSet.Auto)] 339[DllImport(ExternDll.User32, EntryPoint="RegisterClassEx", CharSet=CharSet.Unicode, SetLastError=true, BestFitMapping=false)] 361[DllImport(ExternDll.User32, EntryPoint="UnregisterClass",CharSet = CharSet.Auto, SetLastError = true, BestFitMapping=false)] 470[DllImport(ExternDll.User32, CharSet = CharSet.Auto)] 480[DllImport(ExternDll.User32,EntryPoint="SendMessage", CharSet = CharSet.Auto)] 487[DllImport(ExternDll.User32,EntryPoint="RegisterPowerSettingNotification")] 494[DllImport(ExternDll.User32,EntryPoint="UnregisterPowerSettingNotification")] 511[DllImport(ExternDll.User32, CharSet = CharSet.Auto, SetLastError = true)] 907[DllImport(ExternDll.User32, EntryPoint = "SetWindowText", CharSet = CharSet.Auto, SetLastError = true, BestFitMapping = false)] 927[DllImport(ExternDll.User32, EntryPoint = "GetIconInfo", CharSet = CharSet.Auto, SetLastError = true)] 996[DllImport(ExternDll.User32, EntryPoint = "GetWindowPlacement", ExactSpelling = true, CharSet = CharSet.Auto, SetLastError = true)] 1015[DllImport(ExternDll.User32, EntryPoint = "SetWindowPlacement", ExactSpelling = true, CharSet = CharSet.Auto, SetLastError = true)] 1045[DllImport(ExternDll.User32, CharSet = CharSet.Auto, BestFitMapping = false)] 1053[DllImport(ExternDll.User32, CharSet = CharSet.Auto, BestFitMapping = false, ThrowOnUnmappableChar = true)] 1179[DllImport(ExternDll.User32, ExactSpelling = true, CharSet = CharSet.Auto, SetLastError = true)] 1562[DllImport(ExternDll.User32)] 1615[DllImport(ExternDll.User32, EntryPoint = "SetWindowsHookExW", SetLastError = true)] 1622[DllImport(ExternDll.User32, SetLastError = true)] 1629[DllImport(ExternDll.User32, SetLastError = true)]