crt: Add new APIs in user32 import library
Signed-off-by: Biswapriyo Nath <nathbappai@gmail.com>
Signed-off-by: LIU Hao <lh_mouse@126.com>
diff --git a/mingw-w64-crt/lib-common/user32.def.in b/mingw-w64-crt/lib-common/user32.def.in
index ac2a074..3611ad0 100644
--- a/mingw-w64-crt/lib-common/user32.def.in
+++ b/mingw-w64-crt/lib-common/user32.def.in
@@ -115,6 +115,7 @@
CreateMDIWindowW
CreateMenu
CreatePopupMenu
+CreateSyntheticPointerDevice
CreateSystemThreads
CreateWindowExA
CreateWindowExW
@@ -178,6 +179,7 @@
DestroyIcon
DestroyMenu
DestroyReasons
+DestroySyntheticPointerDevice
DestroyWindow
DeviceEventWorker
DialogBoxIndirectParamA
@@ -325,6 +327,8 @@
GetDesktopID
GetDesktopWindow
GetDialogBaseUnits
+GetDialogControlDpiChangeBehavior
+GetDialogDpiChangeBehavior
GetDisplayAutoRotationPreferences
GetDisplayConfigBufferSizes
GetDlgCtrlID
@@ -333,9 +337,12 @@
GetDlgItemTextA
GetDlgItemTextW
GetDoubleClickTime
+GetDpiAwarenessContextForProcess
GetDpiForMonitorInternal
GetDpiForSystem
GetDpiForWindow
+GetDpiFromDpiAwarenessContext
+GetExtendedPointerDeviceProperty
GetFocus
GetForegroundWindow
GetGestureConfig
@@ -440,6 +447,7 @@
GetSubMenu
GetSysColor
GetSysColorBrush
+GetSystemDpiForProcess
GetSystemMenu
GetSystemMetrics
GetSystemMetricsForDpi
@@ -448,6 +456,7 @@
GetTaskmanWindow
GetThreadDesktop
GetThreadDpiAwarenessContext
+GetThreadDpiHostingBehavior
GetTitleBarInfo
GetTopLevelWindow
GetTopWindow
@@ -468,6 +477,7 @@
GetWindowDC
GetWindowDisplayAffinity
GetWindowDpiAwarenessContext
+GetWindowDpiHostingBehavior
GetWindowFeedbackSetting
GetWindowInfo
GetWindowLongA
@@ -515,6 +525,7 @@
InjectKeyboardInput
InjectMouseInput
InjectPointerInput
+InjectSyntheticPointerInput
InjectTouchInput
InsertMenuA
InsertMenuItemA
@@ -672,6 +683,7 @@
RIMAddInputObserver
RIMAreSiblingDevices
RIMDeviceIoControl
+RIMEnableMonitorMappingForDevice
RIMFreeInputBuffer
RIMGetDevicePreparsedData
RIMGetDevicePreparsedDataLockfree
@@ -706,6 +718,7 @@
RegisterDeviceNotificationA
RegisterDeviceNotificationW
RegisterErrorReportingDialog
+RegisterForTooltipDismissNotification
RegisterFrostWindow
RegisterGhostWindow
RegisterHotKey
@@ -758,6 +771,7 @@
SendNotifyMessageA
SendNotifyMessageW
SetActiveWindow
+SetAdditionalForegroundBoostProcesses
SetCapture
SetCaretBlinkTime
SetCaretPos
@@ -775,6 +789,8 @@
SetCursorPos
SetDebugErrorLevel
SetDeskWallpaper
+SetDialogControlDpiChangeBehavior
+SetDialogDpiChangeBehavior
SetDisplayAutoRotationPreferences
SetDisplayConfig
SetDlgItemInt
@@ -811,6 +827,7 @@
SetProcessDefaultLayout
SetProcessDpiAwarenessContext
SetProcessDpiAwarenessInternal
+SetProcessLaunchForegroundPolicy
SetProcessRestrictionExemption
SetProcessWindowStation
SetProgmanWindow
@@ -831,6 +848,7 @@
SetTaskmanWindow
SetThreadDesktop
SetThreadDpiAwarenessContext
+SetThreadDpiHostingBehavior
SetThreadInputBlocked
SetTimer
SetUserObjectInformationA
@@ -859,6 +877,8 @@
SetWindowsHookExA
SetWindowsHookExW
SetWindowsHookW
+ShellMigrateWindow
+ShellSetWindowPos
ShowCaret
ShowCursor
ShowOwnedPopups
diff --git a/mingw-w64-crt/lib32/user32.def b/mingw-w64-crt/lib32/user32.def
index cd0cd18..e075ffe 100644
--- a/mingw-w64-crt/lib32/user32.def
+++ b/mingw-w64-crt/lib32/user32.def
@@ -747,6 +747,7 @@
RegisterDeviceNotificationW@12
RegisterErrorReportingDialog@8
RegisterFrostWindow@8
+RegisterForTooltipDismissNotification@8
RegisterGhostWindow@8
RegisterHotKey@16
RegisterLogonProcess@8
@@ -799,6 +800,7 @@
SendNotifyMessageA@16
SendNotifyMessageW@16
SetActiveWindow@4
+SetAdditionalForegroundBoostProcesses@12
SetCapture@4
SetCaretBlinkTime@4
SetCaretPos@8
@@ -856,6 +858,7 @@
SetProcessDefaultLayout@4
SetProcessDpiAwarenessContext@4
SetProcessDpiAwarenessInternal@4
+SetProcessLaunchForegroundPolicy@8
SetProcessRestrictionExemption@4
SetProcessWindowStation@4
SetProgmanWindow@4
@@ -913,6 +916,8 @@
SfmDxReportPendingBindingsToDwm@0
SfmDxSetSwapChainBindingStatus@8
SfmDxSetSwapChainStats@8
+ShellMigrateWindow@12
+ShellSetWindowPos@24
ShowCaret@4
ShowCursor@4
ShowOwnedPopups@8