Vanara.PInvoke.User32 2.2.1

Prefix Reserved
There is a newer version of this package available.
See the version list below for details.
dotnet add package Vanara.PInvoke.User32 --version 2.2.1                
NuGet\Install-Package Vanara.PInvoke.User32 -Version 2.2.1                
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="Vanara.PInvoke.User32" Version="2.2.1" />                
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Vanara.PInvoke.User32 --version 2.2.1                
#r "nuget: Vanara.PInvoke.User32, 2.2.1"                
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
// Install Vanara.PInvoke.User32 as a Cake Addin
#addin nuget:?package=Vanara.PInvoke.User32&version=2.2.1

// Install Vanara.PInvoke.User32 as a Cake Tool
#tool nuget:?package=Vanara.PInvoke.User32&version=2.2.1                

Methods, structures and constants imported from User32.dll.

Product Compatible and additional computed target framework versions.
.NET net5.0 was computed.  net5.0-windows was computed.  net6.0 was computed.  net6.0-android was computed.  net6.0-ios was computed.  net6.0-maccatalyst was computed.  net6.0-macos was computed.  net6.0-tvos was computed.  net6.0-windows was computed.  net7.0 was computed.  net7.0-android was computed.  net7.0-ios was computed.  net7.0-maccatalyst was computed.  net7.0-macos was computed.  net7.0-tvos was computed.  net7.0-windows was computed.  net8.0 was computed.  net8.0-android was computed.  net8.0-browser was computed.  net8.0-ios was computed.  net8.0-maccatalyst was computed.  net8.0-macos was computed.  net8.0-tvos was computed.  net8.0-windows was computed. 
.NET Core netcoreapp2.0 is compatible.  netcoreapp2.1 is compatible.  netcoreapp2.2 was computed.  netcoreapp3.0 was computed.  netcoreapp3.1 was computed. 
.NET Standard netstandard2.0 is compatible.  netstandard2.1 was computed. 
.NET Framework net20 is compatible.  net35 is compatible.  net40 is compatible.  net403 was computed.  net45 is compatible.  net451 was computed.  net452 was computed.  net46 was computed.  net461 was computed.  net462 was computed.  net463 was computed.  net47 was computed.  net471 was computed.  net472 was computed.  net48 was computed.  net481 was computed. 
MonoAndroid monoandroid was computed. 
MonoMac monomac was computed. 
MonoTouch monotouch was computed. 
Tizen tizen40 was computed.  tizen60 was computed. 
Xamarin.iOS xamarinios was computed. 
Xamarin.Mac xamarinmac was computed. 
Xamarin.TVOS xamarintvos was computed. 
Xamarin.WatchOS xamarinwatchos was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages (25)

Showing the top 5 NuGet packages that depend on Vanara.PInvoke.User32:

Package Downloads
Vanara.PInvoke.ComCtl32

PInvoke API (methods, structures and constants) imported from Windows ComCtl32.dll.

NetDimension.NanUI

Easily buid powerful WinForm applications with HTML, CSS and JavaScript.

Vanara.PInvoke.UxTheme

PInvoke API (methods, structures and constants) imported from Windows UxTheme.dll.

Vanara.SystemServices

Classes for system related items derived from the Vanara PInvoke libraries. Includes extensions for Process (privileges and elavation), FileInfo (compression info), Shared Network Drives and Devices, and ServiceController (SetStartType) that pull extended information through native API calls.

Vanara.Windows.Forms

Classes for user interface related items derived from the Vanara PInvoke libraries. Includes extensions for almost all common controls to give post Vista capabilities, WinForms controls (panel, commandlink, enhanced combo boxes, IPAddress, split button, trackbar and themed controls), shutdown/restart/lock control, buffered painting, resource files, access control editor, simplifed designer framework for Windows.Forms.

GitHub repositories (16)

Showing the top 5 popular GitHub repositories that depend on Vanara.PInvoke.User32:

Repository Stars
babalae/better-genshin-impact
📦BetterGI · 更好的原神 - 自动拾取 | 自动剧情 | 全自动钓鱼(AI) | 全自动七圣召唤 | 自动伐木 | 自动刷本 | 自动采集 - UI Automation Testing Tools For Genshin Impact
XuanchenLin/NanUI
NanUI is an open source .NET project for developers who want to create Windows desktop applications with HTML, CSS and JavaScript.
ashmind/SharpLab
.NET language playground
Jeric-X/SyncClipboard
跨平台剪贴板同步方案 / Cross-Platform Cipboard Syncing Solution
zhuxb711/RX-Explorer
一款优雅的UWP文件管理器 | An elegant UWP Explorer
Version Downloads Last updated
4.0.4 7,360 9/13/2024
4.0.3 21,637 8/5/2024
4.0.2 7,037 6/24/2024
4.0.1 21,774 4/30/2024
4.0.0 5,433 3/29/2024
4.0.0-beta2 1,040 1/22/2024
4.0.0-beta 1,370 11/20/2023
3.4.17 42,488 10/18/2023
3.4.16 29,492 8/7/2023
3.4.15 60,369 5/18/2023
3.4.14 34,571 4/15/2023
3.4.13 12,840 2/4/2023
3.4.12 13,087 1/15/2023
3.4.11 26,809 11/15/2022
3.4.10 9,400 10/25/2022
3.4.9 7,567 10/3/2022
3.4.8 9,549 9/16/2022
3.4.7 5,902 9/3/2022
3.4.6 9,031 8/7/2022
3.4.5 12,433 7/17/2022
3.4.4 6,931 7/5/2022
3.4.3 9,758 6/14/2022
3.4.2 8,895 5/13/2022
3.4.1 6,629 5/5/2022
3.4.0 11,865 3/14/2022
3.3.15 41,587 12/27/2021
3.3.14 7,957 10/26/2021
3.3.13 3,628 9/30/2021
3.3.12 9,943 8/30/2021
3.3.11 12,637 7/22/2021
3.3.10 6,531 6/4/2021
3.3.9 5,189 5/7/2021
3.3.8 6,862 4/7/2021
3.3.7 4,879 3/24/2021
3.3.6 3,014 3/19/2021
3.3.5 4,720 3/1/2021
3.3.4 5,424 2/11/2021
3.3.3 6,168 2/3/2021
3.3.2 2,658 1/21/2021
3.3.1 6,055 1/20/2021
3.3.0 6,592 11/20/2020
3.2.21 2,150 11/13/2020
3.2.20 5,128 11/8/2020
3.2.19 6,266 10/23/2020
3.2.18 2,041 10/21/2020
3.2.17 4,158 9/20/2020
3.2.16 2,315 9/7/2020
3.2.15 2,235 8/30/2020
3.2.14 2,297 8/20/2020
3.2.13 2,657 7/27/2020
3.2.12 2,380 7/13/2020
3.2.11 2,559 6/28/2020
3.2.10 2,435 6/14/2020
3.2.9 2,453 6/3/2020
3.2.7 3,077 5/4/2020
3.2.6 2,233 4/21/2020
3.2.5 2,178 4/15/2020
3.2.4 2,135 4/12/2020
3.2.3 2,176 4/1/2020
3.2.2 2,120 3/24/2020
3.2.1 2,159 3/17/2020
3.2.0 2,384 2/27/2020
3.1.9 2,376 1/17/2020
3.1.8 2,326 1/13/2020
3.1.7 2,150 1/6/2020
3.1.6 2,182 12/12/2019
3.1.5 2,305 11/26/2019
3.1.4 2,406 11/25/2019
3.1.3 2,359 11/8/2019
3.1.2 2,126 11/4/2019
3.1.1 3,163 10/17/2019
3.1.0 2,172 10/3/2019
3.0.1 2,105 9/20/2019
3.0.0 1,911 8/27/2019
2.3.11 2,252 6/9/2019
2.3.10 966 6/5/2019
2.3.9 937 5/26/2019
2.3.8 961 5/13/2019
2.3.7 969 4/24/2019
2.3.6 918 4/17/2019
2.3.5 896 4/10/2019
2.3.4 967 3/9/2019
2.3.3 913 3/8/2019
2.3.2 948 2/28/2019
2.3.1 926 2/25/2019
2.3.0 898 2/22/2019
2.2.1 978 2/12/2019
2.2.0 958 2/1/2019
2.1.2 8,363 1/14/2019
2.1.0 1,021 12/15/2018
2.0.1 1,010 12/7/2018
2.0.0 1,040 11/28/2018
1.1.0 1,594 9/10/2018
1.0.18 1,227 8/10/2018
1.0.17 1,159 7/30/2018
1.0.16 1,520 6/29/2018
1.0.15 1,204 6/27/2018
1.0.14 1,260 6/8/2018
1.0.13 1,237 6/6/2018
1.0.12 1,327 4/5/2018
1.0.11 1,269 4/4/2018
1.0.10 1,227 3/27/2018
1.0.9 1,204 3/26/2018
1.0.8 1,262 2/7/2018
1.0.7 1,272 1/27/2018
1.0.6 1,327 1/8/2018
1.0.5 1,309 12/28/2017
1.0.4 1,284 12/15/2017
1.0.3 986 12/8/2017
1.0.2 1,002 11/30/2017
1.0.1 1,161 11/28/2017

Currently implements:

Functions
AddClipboardFormatListener, AdjustWindowRect, AdjustWindowRectEx, AllowSetForegroundWindow, AnimateWindow, AnyPopup, AppendMenuA, AppendMenuW, ArrangeIconicWindows, BeginDeferWindowPos, BeginPaint, BringWindowToTop, BroadcastSystemMessage, BroadcastSystemMessageExA, BroadcastSystemMessageExW, CalculatePopupWindowPosition, CallMsgFilterA, CallMsgFilterW, CallNextHookEx, CascadeWindows, ChangeClipboardChain, ChangeDisplaySettingsA, ChangeDisplaySettingsExA, ChangeDisplaySettingsExW, ChangeDisplaySettingsW, ChangeWindowMessageFilter, ChangeWindowMessageFilterEx, CheckDlgButton, CheckMenuItem, CheckMenuRadioItem, CheckRadioButton, ChildWindowFromPoint, ChildWindowFromPointEx, ClientToScreen, ClipCursor, CloseClipboard, CloseDesktop, CloseGestureInfoHandle, CloseTouchInputHandle, CloseWindow, CloseWindowStation, CopyAcceleratorTableA, CopyAcceleratorTableW, CopyIcon, CopyRect, CountClipboardFormats, CreateAcceleratorTableA, CreateAcceleratorTableW, CreateCaret, CreateCursor, CreateDesktopA, CreateDesktopExA, CreateDesktopExW, CreateDesktopW, CreateDialogIndirectParamA, CreateDialogIndirectParamW, CreateDialogParamA, CreateDialogParamW, CreateIcon, CreateIconFromResource, CreateIconFromResourceEx, CreateIconIndirect, CreateMenu, CreatePopupMenu, CreateWindowExA, CreateWindowExW, CreateWindowStationA, CreateWindowStationW, DefDlgProc, DeferWindowPos, DeleteMenu, DeregisterShellHookWindow, DestroyAcceleratorTable, DestroyCaret, DestroyCursor, DestroyIcon, DestroyMenu, DestroyWindow, DialogBoxIndirectParamA, DialogBoxIndirectParamW, DialogBoxParamA, DialogBoxParamW, DispatchMessageA, DispatchMessageW, DrawAnimatedRects, DrawCaption, DrawEdge, DrawFocusRect, DrawFrameControl, DrawIcon, DrawIconEx, DrawMenuBar, DrawStateA, DrawStateW, DrawTextA, DrawTextW, EmptyClipboard, EnableMenuItem, EndDeferWindowPos, EndDialog, EndMenu, EndPaint, EndTask, EnumChildWindows, EnumClipboardFormats, EnumDesktopsA, EnumDesktopsW, EnumDesktopWindows, EnumDisplayDevicesA, EnumDisplayDevicesW, EnumDisplayMonitors, EnumDisplaySettingsA, EnumDisplaySettingsExA, EnumDisplaySettingsExW, EnumDisplaySettingsW, EnumPropsA, EnumPropsExA, EnumPropsExW, EnumPropsW, EnumThreadWindows, EnumWindows, EnumWindowStationsA, EnumWindowStationsW, EqualRect, ExcludeUpdateRgn, ExitWindowsEx, FillRect, FindWindowA, FindWindowExA, FindWindowExW, FindWindowW, FrameRect, GetActiveWindow, GetAltTabInfoA, GetAltTabInfoW, GetAncestor, GetCaretBlinkTime, GetCaretPos, GetClientRect, GetClipboardData, GetClipboardFormatNameA, GetClipboardFormatNameW, GetClipboardOwner, GetClipboardSequenceNumber, GetClipboardViewer, GetClipCursor, GetCursor, GetCursorInfo, GetCursorPos, GetDC, GetDCEx, GetDesktopWindow, GetDialogBaseUnits, GetDisplayAutoRotationPreferences, GetDlgCtrlID, GetDlgItem, GetDlgItemInt, GetDlgItemTextA, GetDlgItemTextW, GetForegroundWindow, GetGestureConfig, GetGestureExtraArgs, GetGestureInfo, GetGUIThreadInfo, GetIconInfo, GetIconInfoExA, GetIconInfoExW, GetInputState, GetLastActivePopup, GetLayeredWindowAttributes, GetMenu, GetMenuBarInfo, GetMenuCheckMarkDimensions, GetMenuDefaultItem, GetMenuInfo, GetMenuItemCount, GetMenuItemID, GetMenuItemInfoA, GetMenuItemInfoW, GetMenuItemRect, GetMenuState, GetMenuStringA, GetMenuStringW, GetMessageA, GetMessageExtraInfo, GetMessagePos, GetMessageTime, GetMessageW, GetMonitorInfoA, GetMonitorInfoW, GetNextDlgGroupItem, GetNextDlgTabItem, GetOpenClipboardWindow, GetParent, GetPhysicalCursorPos, GetPriorityClipboardFormat, GetProcessDefaultLayout, GetProcessWindowStation, GetPropA, GetPropW, GetQueueStatus, GetShellWindow, GetSubMenu, GetSysColor, GetSysColorBrush, GetSystemMenu, GetSystemMetrics, GetTabbedTextExtentA, GetTabbedTextExtentW, GetThreadDesktop, GetTitleBarInfo, GetTopWindow, GetTouchInputInfo, GetUpdatedClipboardFormats, GetUpdateRect, GetUpdateRgn, GetUserObjectInformationA, GetUserObjectInformationW, GetWindow, GetWindowDC, GetWindowDisplayAffinity, GetWindowInfo, GetWindowLongA, GetWindowLongPtrA, GetWindowLongPtrW, GetWindowLongW, GetWindowModuleFileNameA, GetWindowModuleFileNameW, GetWindowPlacement, GetWindowRect, GetWindowRgn, GetWindowRgnBox, GetWindowTextA, GetWindowTextLengthA, GetWindowTextLengthW, GetWindowTextW, GetWindowThreadProcessId, GrayStringA, GrayStringW, HideCaret, HiliteMenuItem, InflateRect, InSendMessage, InSendMessageEx, InsertMenuA, InsertMenuItemA, InsertMenuItemW, InsertMenuW, InternalGetWindowText, IntersectRect, InvalidateRect, InvalidateRgn, IsChild, IsClipboardFormatAvailable, IsDialogMessageA, IsDialogMessageW, IsDlgButtonChecked, IsGUIThread, IsHungAppWindow, IsIconic, IsMenu, IsProcessDPIAware, IsRectEmpty, IsTouchWindow, IsWindow, IsWindowUnicode, IsWindowVisible, IsZoomed, KillTimer, LoadAcceleratorsA, LoadAcceleratorsW, LoadBitmapA, LoadBitmapW, LoadCursorA, LoadCursorFromFileA, LoadCursorFromFileW, LoadCursorW, LoadIconA, LoadIconW, LoadImageA, LoadImageW, LoadMenuA, LoadMenuIndirectA, LoadMenuIndirectW, LoadMenuW, LoadStringA, LoadStringW, LockSetForegroundWindow, LockWindowUpdate, LockWorkStation, LogicalToPhysicalPoint, LookupIconIdFromDirectory, LookupIconIdFromDirectoryEx, MapDialogRect, MapWindowPoints, MenuItemFromPoint, MessageBeep, MessageBoxA, MessageBoxIndirectA, MessageBoxIndirectW, MessageBoxW, ModifyMenuA, ModifyMenuW, MonitorFromPoint, MonitorFromRect, MonitorFromWindow, MoveWindow, OffsetRect, OpenClipboard, OpenDesktopA, OpenDesktopW, OpenIcon, OpenInputDesktop, OpenWindowStationA, OpenWindowStationW, PaintDesktop, PeekMessageA, PeekMessageW, PhysicalToLogicalPoint, PostMessageA, PostMessageW, PostQuitMessage, PostThreadMessageA, PostThreadMessageW, PrivateExtractIconsA, PrivateExtractIconsW, PtInRect, RealChildWindowFromPoint, RealGetWindowClassA, RealGetWindowClassW, RedrawWindow, RegisterClipboardFormatA, RegisterClipboardFormatW, RegisterHotKey, RegisterShellHookWindow, RegisterTouchWindow, RegisterWindowMessageA, RegisterWindowMessageW, ReleaseDC, RemoveClipboardFormatListener, RemoveMenu, RemovePropA, RemovePropW, ReplyMessage, ScreenToClient, SendDlgItemMessageA, SendDlgItemMessageW, SendMessage, SendMessageA, SendMessageCallbackA, SendMessageCallbackW, SendMessageTimeoutA, SendMessageTimeoutW, SendMessageW, SendNotifyMessageA, SendNotifyMessageW, SetCaretBlinkTime, SetCaretPos, SetClipboardData, SetClipboardViewer, SetCursor, SetCursorPos, SetDisplayAutoRotationPreferences, SetDlgItemInt, SetDlgItemTextA, SetDlgItemTextW, SetForegroundWindow, SetGestureConfig, SetLayeredWindowAttributes, SetMenu, SetMenuDefaultItem, SetMenuInfo, SetMenuItemBitmaps, SetMenuItemInfoA, SetMenuItemInfoW, SetMessageExtraInfo, SetParent, SetPhysicalCursorPos, SetProcessDefaultLayout, SetProcessDPIAware, SetProcessWindowStation, SetPropA, SetPropW, SetRect, SetRectEmpty, SetSysColors, SetSystemCursor, SetThreadDesktop, SetTimer, SetUserObjectInformationA, SetUserObjectInformationW, SetWindowDisplayAffinity, SetWindowLong, SetWindowLongPtr, SetWindowPlacement, SetWindowPos, SetWindowRgn, SetWindowsHookExA, SetWindowsHookExW, SetWindowTextA, SetWindowTextW, ShowCaret, ShowCursor, ShowOwnedPopups, ShowWindow, ShowWindowAsync, ShutdownBlockReasonCreate, ShutdownBlockReasonDestroy, ShutdownBlockReasonQuery, SoundSentry, SubtractRect, SwitchDesktop, SwitchToThisWindow, SystemParametersInfoA, SystemParametersInfoW, TabbedTextOutA, TabbedTextOutW, TileWindows, TrackMouseEvent, TrackPopupMenu, TrackPopupMenuEx, TranslateAcceleratorA, TranslateAcceleratorW, TranslateMessage, UnhookWindowsHookEx, UnionRect, UnregisterHotKey, UnregisterTouchWindow, UpdateLayeredWindow, UpdateLayeredWindowIndirect, UpdateWindow, ValidateRect, ValidateRgn, WaitMessage, WindowFromDC, WindowFromPhysicalPoint, WindowFromPoint

Structures
METAFILEPICT, CBT_CREATEWND, CBTACTIVATESTRUCT, CWPRETSTRUCT, CWPSTRUCT, DEBUGHOOKINFO, EVENTMSG, HHOOK, KBDLLHOOKSTRUCT, MOUSEHOOKSTRUCT, MOUSEHOOKSTRUCTEX, MSLLHOOKSTRUCT, TRACKMOUSEEVENT, ACCESSTIMEOUT, ANIMATIONINFO, AUDIODESCRIPTION, FILTERKEYS, HELPINFO, HIGHCONTRAST, ICONMETRICS, MINIMIZEDMETRICS, MOUSEKEYS, MSGBOXPARAMS, NONCLIENTMETRICS, SERIALKEYS, SOUNDSENTRY, STICKYKEYS, TOGGLEKEYS, TOUCHPREDICTIONPARAMETERS, GESTURECONFIG, GESTUREINFO, GESTURENOTIFYSTRUCT, HGESTUREINFO, HTOUCHINPUT, TOUCHINPUT, ICONINFO, VIDEOPARAMETERS, NMHDR, ACCEL, CURSORINFO, USEROBJECTFLAGS, DLGITEMTEMPLATE, DLGTEMPLATE, MINMAXINFO, WINDOWPOS, ICONINFOEX, MDINEXTMENU, MENUBARINFO, MENUEX_TEMPLATE_HEADER, MENUEX_TEMPLATE_ITEM, MENUGETOBJECTINFO, MENUINFO, MENUITEMINFO, MENUITEMTEMPLATE, MENUITEMTEMPLATEHEADER, TPMPARAMS, BSMINFO, MONITORINFO, MONITORINFOEX, PAINTSTRUCT, GRPICONDIR, GRPICONDIRENTRY, ALTTABINFO, CHANGEFILTERSTRUCT, GUITHREADINFO, TITLEBARINFO, UPDATELAYEREDWINDOWINFO, WINDOWINFO, WINDOWPLACEMENT