Vanara.PInvoke.User32 3.3.4

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

Install-Package Vanara.PInvoke.User32 -Version 3.3.4
dotnet add package Vanara.PInvoke.User32 --version 3.3.4
<PackageReference Include="Vanara.PInvoke.User32" Version="3.3.4" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Vanara.PInvoke.User32 --version 3.3.4
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: Vanara.PInvoke.User32, 3.3.4"
For F# scripts that support #r syntax, copy this into the source code to reference the package.

Release Notes

Currently implements:

Functions
ActivateKeyboardLayout, AddClipboardFormatListener, AdjustWindowRect, AdjustWindowRectEx, AdjustWindowRectExForDpi, AllowSetForegroundWindow, AnimateWindow, AnyPopup, AppendMenuA, AppendMenuW, AreDpiAwarenessContextsEqual, ArrangeIconicWindows, AttachThreadInput, BeginDeferWindowPos, BeginPaint, BlockInput, BringWindowToTop, BroadcastSystemMessage, BroadcastSystemMessageEx, CalculatePopupWindowPosition, CallMsgFilter, CallNextHookEx, CallWindowProc, CascadeWindows, ChangeClipboardChain, ChangeDisplaySettings, ChangeDisplaySettingsEx, ChangeWindowMessageFilter, ChangeWindowMessageFilterEx, CharToOem, CharToOemBuff, CheckDlgButton, CheckMenuItem, CheckMenuRadioItem, CheckRadioButton, ChildWindowFromPoint, ChildWindowFromPointEx, ClientToScreen, ClipCursor, CloseClipboard, CloseDesktop, CloseGestureInfoHandle, CloseTouchInputHandle, CloseWindow, CloseWindowStation, CopyAcceleratorTableA, CopyAcceleratorTableW, CopyIcon, CopyImage, CopyRect, CountClipboardFormats, CreateAcceleratorTable, CreateCaret, CreateCursor, CreateDesktop, CreateDesktopExA, CreateDesktopExW, CreateDialogIndirectParam, CreateDialogParam, CreateIcon, CreateIconFromResource, CreateIconFromResourceEx, CreateIconIndirect, CreateMenu, CreatePopupMenu, CreateSyntheticPointerDevice, CreateWindowEx, CreateWindowStation, DefDlgProc, DeferWindowPos, DefFrameProc, DefMDIChildProc, DefRawInputProc, DefWindowProc, DeleteMenu, DeregisterShellHookWindow, DestroyAcceleratorTable, DestroyCaret, DestroyCursor, DestroyIcon, DestroyMenu, DestroySyntheticPointerDevice, DestroyWindow, DialogBoxIndirectParam, DialogBoxParam, DisableProcessWindowsGhosting, DispatchMessage, DisplayConfigGetDeviceInfo, DisplayConfigSetDeviceInfo, DlgDirSelectComboBoxEx, DragDetect, DrawAnimatedRects, DrawCaption, DrawEdge, DrawFocusRect, DrawFrameControl, DrawIcon, DrawIconEx, DrawMenuBar, DrawState, DrawText, DrawTextEx, EmptyClipboard, EnableMenuItem, EnableMouseInPointer, EnableNonClientDpiScaling, EnableScrollBar, EnableWindow, EndDeferWindowPos, EndDialog, EndMenu, EndPaint, EndTask, EnumChildWindows, EnumClipboardFormats, EnumDesktops, EnumDesktopWindows, EnumDisplayDevices, EnumDisplayMonitors, EnumDisplaySettings, EnumDisplaySettingsEx, EnumPropsA, EnumPropsEx, EnumPropsW, EnumThreadWindows, EnumWindows, EnumWindowStations, EqualRect, EvaluateProximityToPolygon, EvaluateProximityToRect, ExcludeUpdateRgn, ExitWindowsEx, FillRect, FindWindow, FindWindowEx, FlashWindow, FlashWindowEx, FrameRect, FreeDDElParam, GetActiveWindow, GetAltTabInfo, GetAncestor, GetAsyncKeyState, GetAutoRotationState, GetAwarenessFromDpiAwarenessContext, GetCapture, GetCaretBlinkTime, GetCaretPos, GetClassInfo, GetClassInfoEx, GetClassLong, GetClassLongPtr, GetClassName, GetClassWord, GetClientRect, GetClipboardData, GetClipboardFormatNameA, GetClipboardFormatNameW, GetClipboardOwner, GetClipboardSequenceNumber, GetClipboardViewer, GetClipCursor, GetCurrentInputMessageSource, GetCursor, GetCursorInfo, GetCursorPos, GetDC, GetDCEx, GetDesktopWindow, GetDialogBaseUnits, GetDialogControlDpiChangeBehavior, GetDialogDpiChangeBehavior, GetDisplayAutoRotationPreferences, GetDisplayConfigBufferSizes, GetDlgCtrlID, GetDlgItem, GetDlgItemInt, GetDlgItemText, GetDoubleClickTime, GetDpiForSystem, GetDpiForWindow, GetDpiFromDpiAwarenessContext, GetFocus, GetForegroundWindow, GetGestureConfig, GetGestureExtraArgs, GetGestureInfo, GetGuiResources, GetGUIThreadInfo, GetIconInfo, GetIconInfoEx, GetInputState, GetKBCodePage, GetKeyboardLayout, GetKeyboardLayoutList, GetKeyboardLayoutName, GetKeyboardState, GetKeyboardType, GetKeyNameText, GetKeyState, GetLastActivePopup, GetLastInputInfo, GetLayeredWindowAttributes, GetMenu, GetMenuBarInfo, GetMenuCheckMarkDimensions, GetMenuContextHelpId, GetMenuDefaultItem, GetMenuInfo, GetMenuItemCount, GetMenuItemID, GetMenuItemInfoA, GetMenuItemInfoW, GetMenuItemRect, GetMenuState, GetMenuString, GetMessage, GetMessageExtraInfo, GetMessagePos, GetMessageTime, GetMonitorInfo, GetMouseMovePointsEx, GetNextDlgGroupItem, GetNextDlgTabItem, GetOpenClipboardWindow, GetParent, GetPhysicalCursorPos, GetPointerCursorId, GetPointerDevice, GetPointerDeviceCursors, GetPointerDeviceProperties, GetPointerDeviceRects, GetPointerDevices, GetPointerFrameInfo, GetPointerFrameInfoHistory, GetPointerFramePenInfo, GetPointerFramePenInfoHistory, GetPointerFrameTouchInfo, GetPointerFrameTouchInfoHistory, GetPointerInfo, GetPointerInfoHistory, GetPointerInputTransform, GetPointerPenInfo, GetPointerPenInfoHistory, GetPointerTouchInfo, GetPointerTouchInfoHistory, GetPointerType, GetPriorityClipboardFormat, GetProcessDefaultLayout, GetProcessWindowStation, GetProp, GetQueueStatus, GetRawInputBuffer, GetRawInputData, GetRawInputDeviceInfo, GetRawInputDeviceList, GetRawPointerDeviceData, GetRegisteredRawInputDevices, GetScrollBarInfo, GetScrollInfo, GetScrollPos, GetScrollRange, GetShellWindow, GetSubMenu, GetSysColor, GetSysColorBrush, GetSystemDpiForProcess, GetSystemMenu, GetSystemMetrics, GetSystemMetricsForDpi, GetTabbedTextExtent, GetThreadDesktop, GetThreadDpiAwarenessContext, GetThreadDpiHostingBehavior, GetTitleBarInfo, GetTopWindow, GetTouchInputInfo, GetUnpredictedMessagePos, GetUpdatedClipboardFormats, GetUpdateRect, GetUpdateRgn, GetUserObjectInformationA, GetUserObjectInformationW, GetUserObjectSecurity, GetWindow, GetWindowContextHelpId, GetWindowDC, GetWindowDisplayAffinity, GetWindowDpiAwarenessContext, GetWindowDpiHostingBehavior, GetWindowFeedbackSetting, GetWindowInfo, GetWindowLong, GetWindowLongPtr, GetWindowModuleFileName, GetWindowPlacement, GetWindowRect, GetWindowRgn, GetWindowRgnBox, GetWindowText, GetWindowTextLength, GetWindowThreadProcessId, GrayString, HideCaret, HiliteMenuItem, ImpersonateDdeClientWindow, InflateRect, InitializeTouchInjection, InjectSyntheticPointerInput, InjectTouchInput, InSendMessage, InSendMessageEx, InsertMenu, InsertMenuItem, InternalGetWindowText, IntersectRect, InvalidateRect, InvalidateRgn, InvertRect, IsChild, IsClipboardFormatAvailable, IsDialogMessage, IsDlgButtonChecked, IsGUIThread, IsHungAppWindow, IsIconic, IsImmersiveProcess, IsMenu, IsMouseInPointerEnabled, IsProcessDPIAware, IsRectEmpty, IsTouchWindow, IsValidDpiAwarenessContext, IsWindow, IsWindowEnabled, IsWindowRedirectedForPrint, IsWindowUnicode, IsWindowVisible, IsWinEventHookInstalled, IsWow64Message, IsZoomed, keybd_event, KillTimer, LoadAcceleratorsA, LoadAcceleratorsW, LoadBitmap, LoadCursor, LoadCursorFromFileA, LoadCursorFromFileW, LoadIcon, LoadImage, LoadKeyboardLayout, LoadMenu, LoadMenuIndirect, LoadString, LockSetForegroundWindow, LockWindowUpdate, LockWorkStation, LogicalToPhysicalPoint, LogicalToPhysicalPointForPerMonitorDPI, LookupIconIdFromDirectory, LookupIconIdFromDirectoryEx, MapDialogRect, MapVirtualKey, MapVirtualKeyEx, MapWindowPoints, MB_GetString, MenuItemFromPoint, MessageBeep, MessageBox, MessageBoxIndirect, ModifyMenu, MonitorFromPoint, MonitorFromRect, MonitorFromWindow, mouse_event, MoveWindow, MsgWaitForMultipleObjects, MsgWaitForMultipleObjectsEx, NotifyWinEvent, OemKeyScan, OemToChar, OemToCharBuff, OffsetRect, OpenClipboard, OpenDesktop, OpenIcon, OpenInputDesktop, OpenWindowStation, PackDDElParam, PackTouchHitTestingProximityEvaluation, PaintDesktop, PeekMessage, PhysicalToLogicalPoint, PhysicalToLogicalPointForPerMonitorDPI, PostMessage, PostQuitMessage, PostThreadMessage, PrintWindow, PrivateExtractIcons, PtInRect, QueryDisplayConfig, RealChildWindowFromPoint, RealGetWindowClass, RedrawWindow, RegisterClass, RegisterClassEx, RegisterClipboardFormat, RegisterDeviceNotification, RegisterHotKey, RegisterPointerDeviceNotifications, RegisterPointerInputTarget, RegisterPointerInputTargetEx, RegisterPowerSettingNotification, RegisterRawInputDevices, RegisterShellHookWindow, RegisterSuspendResumeNotification, RegisterTouchHitTestingWindow, RegisterTouchWindow, RegisterWindowMessage, ReleaseCapture, ReleaseDC, RemoveClipboardFormatListener, RemoveMenu, RemoveProp, ReplyMessage, ReuseDDElParam, ScreenToClient, ScrollDC, ScrollWindow, ScrollWindowEx, SendDlgItemMessage, SendInput, SendMessage, SendMessageCallbackA, SendMessageCallbackW, SendMessageTimeout, SendNotifyMessage, SetActiveWindow, SetCapture, SetCaretBlinkTime, SetCaretPos, SetClassLong, SetClassLongPtr, SetClassWord, SetClipboardData, SetClipboardViewer, SetCoalescableTimer, SetCursor, SetCursorPos, SetDialogControlDpiChangeBehavior, SetDialogDpiChangeBehavior, SetDisplayAutoRotationPreferences, SetDisplayConfig, SetDlgItemInt, SetDlgItemText, SetDoubleClickTime, SetFocus, SetForegroundWindow, SetGestureConfig, SetKeyboardState, SetLastErrorEx, SetLayeredWindowAttributes, SetMenu, SetMenuContextHelpId, SetMenuDefaultItem, SetMenuInfo, SetMenuItemBitmaps, SetMenuItemInfo, SetMessageExtraInfo, SetParent, SetPhysicalCursorPos, SetProcessDefaultLayout, SetProcessDPIAware, SetProcessDpiAwarenessContext, SetProcessRestrictionExemption, SetProcessWindowStation, SetProp, SetRect, SetRectEmpty, SetScrollInfo, SetScrollPos, SetScrollRange, SetSysColors, SetSystemCursor, SetThreadDesktop, SetThreadDpiAwarenessContext, SetThreadDpiHostingBehavior, SetTimer, SetUserObjectInformation, SetUserObjectSecurity, SetWindowContextHelpId, SetWindowDisplayAffinity, SetWindowFeedbackSetting, SetWindowLong, SetWindowLongPtr, SetWindowPlacement, SetWindowPos, SetWindowRgn, SetWindowsHookExA, SetWindowsHookExW, SetWindowText, SetWinEventHook, ShowCaret, ShowCursor, ShowOwnedPopups, ShowScrollBar, ShowWindow, ShowWindowAsync, ShutdownBlockReasonCreate, ShutdownBlockReasonDestroy, ShutdownBlockReasonQuery, SkipPointerFrameMessages, SoundSentry, SubtractRect, SwapMouseButton, SwitchDesktop, SwitchToThisWindow, SystemParametersInfo, SystemParametersInfoForDpi, TabbedTextOut, TileWindows, ToAscii, ToAsciiEx, ToUnicode, ToUnicodeEx, TrackMouseEvent, TrackPopupMenu, TrackPopupMenuEx, TranslateAccelerator, TranslateMDISysAccel, TranslateMessage, UnhookWindowsHookEx, UnhookWinEvent, UnionRect, UnloadKeyboardLayout, UnpackDDElParam, UnregisterClass, UnregisterDeviceNotification, UnregisterHotKey, UnregisterPointerInputTarget, UnregisterPowerSettingNotification, UnregisterSuspendResumeNotification, UnregisterTouchWindow, UpdateLayeredWindow, UpdateLayeredWindowIndirect, UpdateWindow, UserHandleGrantAccess, ValidateRect, ValidateRgn, VkKeyScan, VkKeyScanEx, WaitForInputIdle, WaitMessage, WindowFromDC, WindowFromPhysicalPoint, WindowFromPoint, WinHelp, WINNLSEnableIME

Structures
ICONINFO, VIDEOPARAMETERS, NMHDR, ACCEL, METAFILEPICT, CURSORINFO, DEV_BROADCAST_DEVICEINTERFACE, DEV_BROADCAST_DEVNODE, DEV_BROADCAST_HANDLE, DEV_BROADCAST_HDR, DEV_BROADCAST_NET, DEV_BROADCAST_OEM, DEV_BROADCAST_PORT, DEV_BROADCAST_USERDEFINED, DEV_BROADCAST_VOLUME, HDEVNOTIFY, VolLockBroadcast, USEROBJECTFLAGS, DLGITEMTEMPLATE, DLGTEMPLATE, MINMAXINFO, WINDOWPOS, DRAWTEXTPARAMS, HELPWININFO, MULTIKEYHELP, DPI_AWARENESS_CONTEXT, CBT_CREATEWND, CBTACTIVATESTRUCT, CWPRETSTRUCT, CWPSTRUCT, DEBUGHOOKINFO, EVENTMSG, HHOOK, HWINEVENTHOOK, KBDLLHOOKSTRUCT, MOUSEHOOKSTRUCT, MOUSEHOOKSTRUCTEX, MSLLHOOKSTRUCT, ICONINFOEX, HARDWAREINPUT, HRAWINPUT, INPUT, INPUT_MESSAGE_SOURCE, LASTINPUTINFO, MOUSEINPUT, RAWHID, RAWINPUT, RAWINPUTDEVICE, RAWINPUTDEVICELIST, RAWINPUTHEADER, RAWKEYBOARD, RAWMOUSE, RID_DEVICE_INFO, RID_DEVICE_INFO_HID, RID_DEVICE_INFO_KEYBOARD, RID_DEVICE_INFO_MOUSE, HKL, KEYBDINPUT, MDINEXTMENU, MENUBARINFO, MENUEX_TEMPLATE_HEADER, MENUEX_TEMPLATE_ITEM, MENUGETOBJECTINFO, MENUINFO, MENUITEMINFO, MENUITEMTEMPLATE, MENUITEMTEMPLATEHEADER, TPMPARAMS, BSMINFO, MONITORINFO, MONITORINFOEX, MOUSEMOVEPOINT, TRACKMOUSEEVENT, COMPAREITEMSTRUCT, DELETEITEMSTRUCT, DRAWITEMSTRUCT, MEASUREITEMSTRUCT, PAINTSTRUCT, HSYNTHETICPOINTERDEVICE, INPUT_TRANSFORM, POINTER_DEVICE_CURSOR_INFO, POINTER_DEVICE_INFO, POINTER_DEVICE_PROPERTY, POINTER_INFO, POINTER_PEN_INFO, POINTER_TOUCH_INFO, POINTER_TYPE_INFO, POWERBROADCAST_SETTING, GRPICONDIR, GRPICONDIRENTRY, SCROLLBARINFO, SCROLLINFO, ACCESSTIMEOUT, ANIMATIONINFO, AUDIODESCRIPTION, FILTERKEYS, HELPINFO, HIGHCONTRAST, ICONMETRICS, MINIMIZEDMETRICS, MOUSEKEYS, MSGBOXPARAMS, NONCLIENTMETRICS, SERIALKEYS, SOUNDSENTRY, STICKYKEYS, TOGGLEKEYS, TOUCHPREDICTIONPARAMETERS, GESTURECONFIG, GESTUREINFO, GESTURENOTIFYSTRUCT, HGESTUREINFO, HTOUCHINPUT, TOUCH_HIT_TESTING_INPUT, TOUCH_HIT_TESTING_PROXIMITY_EVALUATION, TOUCHINPUT, ALTTABINFO, CHANGEFILTERSTRUCT, CREATESTRUCT, FLASHWINFO, GUITHREADINFO, TITLEBARINFO, UPDATELAYEREDWINDOWINFO, WINDOWINFO, WINDOWPLACEMENT, WNDCLASS, WNDCLASSEX, DATA

NuGet packages (8)

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.
Vanara.Windows.Shell
Classes for Windows Shell items derived from the Vanara PInvoke libraries. Includes shell items, files, icons, links, and taskbar lists.
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.PInvoke.UxTheme
PInvoke API (methods, structures and constants) imported from Windows UxTheme.dll.
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

This package is not used by any popular GitHub repositories.

Version History

Version Downloads Last updated
3.3.4 632 2/11/2021
3.3.3 745 2/3/2021
3.3.2 589 1/21/2021
3.3.1 314 1/20/2021
3.3.0 2,625 11/20/2020
3.2.21 323 11/13/2020
3.2.20 1,295 11/8/2020
3.2.19 3,797 10/23/2020
3.2.18 232 10/21/2020
3.2.17 2,269 9/20/2020
3.2.16 422 9/7/2020
3.2.15 406 8/30/2020
3.2.14 433 8/20/2020
3.2.13 663 7/27/2020
3.2.12 575 7/13/2020
3.2.11 649 6/28/2020
3.2.10 526 6/14/2020
3.2.9 565 6/3/2020
3.2.7 1,203 5/4/2020
3.2.6 413 4/21/2020
3.2.5 347 4/15/2020
3.2.4 331 4/12/2020
3.2.3 408 4/1/2020
3.2.2 330 3/24/2020
3.2.1 341 3/17/2020
3.2.0 585 2/27/2020
3.1.9 586 1/17/2020
3.1.8 485 1/13/2020
3.1.7 364 1/6/2020
3.1.6 448 12/12/2019
3.1.5 493 11/26/2019
3.1.4 329 11/25/2019
3.1.3 421 11/8/2019
3.1.2 311 11/4/2019
3.1.1 1,331 10/17/2019
3.1.0 343 10/3/2019
3.0.1 350 9/20/2019
3.0.0 365 8/27/2019
2.3.11 1,082 6/9/2019
2.3.10 289 6/5/2019
2.3.9 257 5/26/2019
2.3.8 298 5/13/2019
2.3.7 317 4/24/2019
2.3.6 267 4/17/2019
2.3.5 253 4/10/2019
2.3.4 323 3/9/2019
2.3.3 241 3/8/2019
2.3.2 296 2/28/2019
2.3.1 264 2/25/2019
2.3.0 281 2/22/2019
2.2.1 346 2/12/2019
2.2.0 333 2/1/2019
2.1.2 979 1/14/2019
2.1.0 384 12/15/2018
2.0.1 349 12/7/2018
2.0.0 376 11/28/2018
1.1.0 826 9/10/2018
1.0.18 470 8/10/2018
1.0.17 438 7/30/2018
1.0.16 769 6/29/2018
1.0.15 486 6/27/2018
1.0.14 494 6/8/2018
1.0.13 512 6/6/2018
1.0.12 553 4/5/2018
1.0.11 507 4/4/2018
1.0.10 505 3/27/2018
1.0.9 487 3/26/2018
1.0.8 516 2/7/2018
1.0.7 524 1/27/2018
1.0.6 611 1/8/2018
1.0.5 596 12/28/2017
1.0.4 574 12/15/2017
1.0.3 497 12/8/2017
1.0.2 503 11/30/2017
1.0.1 508 11/28/2017