Vanara/PInvoke/User32/pkgreadme.md

20 KiB

Vanara

Vanara.PInvoke.User32 NuGet Package

Version Build status

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

What is Vanara?

Vanara is a community project that contains various .NET assemblies which have P/Invoke functions, interfaces, enums and structures from Windows libraries. Each assembly is associated with one or a few tightly related libraries.

Issues?

First check if it's already fixed by trying the AppVeyor build. If you're still running into problems, file an issue.

Included in Vanara.PInvoke.User32

Functions Enumerations Structures
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
SetThreadCursorCreationScaling
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
VP_COMMAND
VP_CP_CMD
VP_CP_TYPE
VP_FLAGS
VP_MODE
VP_TV
WindowMessage
WindowStyles
WindowStylesEx
FVIRT
ButtonMessage
ButtonNotification
ButtonStateFlags
ButtonStyle
ClipboardNotificationMessage
StandardClipboardFormat
ComboBoxInfoState
ComboBoxMessage
ComboBoxNotification
ComboBoxStyle
ORIENTATION_PREFERENCE
AR_STATE
CursorState
OCR
DBT_DEVTYPE
DBTF
DEVICE_NOTIFY
DeviceBroadcastEvent
LOCKF
LOCKP
CreateDesktopFlags
CreateWindowStationFlags
UserObjectInformationType
QDC
SDC
EditMessage
EditNotification
ChangeDisplaySettingsFlags
CopyImageOptions
DCX
GR
HitTestValues
WindowLongFlags
HelpCmd
DIALOG_CONTROL_DPI_CHANGE_BEHAVIORS
DIALOG_DPI_CHANGE_BEHAVIORS
DPI_AWARENESS
DPI_HOSTING_BEHAVIOR
HC
HCBT
HookType
WINEVENT
DrawIconExFlags
INPUT_MESSAGE_DEVICE_TYPE
INPUT_MESSAGE_ORIGIN_ID
INPUTTYPE
MouseState
RI_KEY
RI_MOUSE
RID
RIDEV
RIM_TYPE
HOTKEYF
HotKeyModifiers
KEYEVENTF
KLF
MAPVK
VK
GetMenuDefaultItemFlags
MenuFlags
MenuInfoMember
MenuInfoStyle
MenuItemInfoMask
MenuItemState
MenuItemType
MNGOF
BSF
BSM
ISMEX
MWMO
PM
QS
SMTO
EDD
EDS
MonitorFlags
MonitorInfoFlags
GMMP
MOUSEEVENTF
TME
ODA
ODS
ODT
BorderFlags
BorderStyles3D
DrawCaptionFlags
DrawStateFlags
FrameControlState
FrameControlType
IDANI
RedrawWindowFlags
PEN_FLAGS
PEN_MASK
POINTER_BUTTON_CHANGE_TYPE
POINTER_DEVICE_CURSOR_TYPE
POINTER_DEVICE_TYPE
POINTER_FEEDBACK_MODE
POINTER_FLAGS
POINTER_INPUT_TYPE
TOUCH_FLAGS
TOUCH_MASK
PowerBroadcastType
LoadImageOptions
LoadImageType
ESB_FLAGS
SB
ScrollWindowFlags
SIF
StaticMessage
StaticNotification
StaticStyle
ARW
ATF
ContactVisualization
ExitWindowsFlags
FKF
GestureVisualization
HANDEDNESS
HELPINFOCONTEXT
HFC
MB_FLAGS
MB_RESULT
MKF
MouseWheelRouting
PenArbitrationType
PenVisualization
SERKF
SKF
SPI
SPIF
SSF
SSGF
SSTF
SSWF
SystemMetric
TKF
GC
GCF
GF
GID
TOUCH_FEEDBACK
TOUCH_HIT_TESTING
TOUCHEVENTF
TOUCHINPUTMASKF
TWF
AnimateWindowFlags
ChildWindowSkipOptions
DefaultLayout
FEEDBACK_TYPE
FLASHW
GetAncestorFlag
GetWindowCmd
GUIThreadInfoFlags
GWFS
LayeredWindowAttributes
LSFW
MdiTileFlags
MessageFilterExAction
MessageFilterFlag
MessageFilterInformation
ObjectState
PW
SetWindowPosFlags
SysCommand
TrackPopupMenuFlags
UpdateLayeredWindowFlags
WindowClassStyles
WindowDisplayAffinity
WindowPlacementFlags





























































































































































































































































































































































































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