From 2e8560af35032bdb0a158e3bba5d9c41a7785a1b Mon Sep 17 00:00:00 2001
From: Biswapriyo Nath <nathbap...@gmail.com>
Date: Thu, 19 Sep 2024 05:31:19 +0000
Subject: [PATCH] crt: Add new APIs in user32 import library

Signed-off-by: Biswapriyo Nath <nathbap...@gmail.com>
---
 mingw-w64-crt/lib-common/user32.def.in | 20 ++++++++++++++++++++
 mingw-w64-crt/lib32/user32.def         |  5 +++++
 2 files changed, 25 insertions(+)

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 @@ CreateMDIWindowA
 CreateMDIWindowW
 CreateMenu
 CreatePopupMenu
+CreateSyntheticPointerDevice
 CreateSystemThreads
 CreateWindowExA
 CreateWindowExW
@@ -178,6 +179,7 @@ DestroyDCompositionHwndTarget
 DestroyIcon
 DestroyMenu
 DestroyReasons
+DestroySyntheticPointerDevice
 DestroyWindow
 DeviceEventWorker
 DialogBoxIndirectParamA
@@ -325,6 +327,8 @@ GetDCEx
 GetDesktopID
 GetDesktopWindow
 GetDialogBaseUnits
+GetDialogControlDpiChangeBehavior
+GetDialogDpiChangeBehavior
 GetDisplayAutoRotationPreferences
 GetDisplayConfigBufferSizes
 GetDlgCtrlID
@@ -333,9 +337,12 @@ GetDlgItemInt
 GetDlgItemTextA
 GetDlgItemTextW
 GetDoubleClickTime
+GetDpiAwarenessContextForProcess
 GetDpiForMonitorInternal
 GetDpiForSystem
 GetDpiForWindow
+GetDpiFromDpiAwarenessContext
+GetExtendedPointerDeviceProperty
 GetFocus
 GetForegroundWindow
 GetGestureConfig
@@ -440,6 +447,7 @@ GetShellWindow
 GetSubMenu
 GetSysColor
 GetSysColorBrush
+GetSystemDpiForProcess
 GetSystemMenu
 GetSystemMetrics
 GetSystemMetricsForDpi
@@ -448,6 +456,7 @@ GetTabbedTextExtentW
 GetTaskmanWindow
 GetThreadDesktop
 GetThreadDpiAwarenessContext
+GetThreadDpiHostingBehavior
 GetTitleBarInfo
 GetTopLevelWindow
 GetTopWindow
@@ -468,6 +477,7 @@ GetWindowContextHelpId
 GetWindowDC
 GetWindowDisplayAffinity
 GetWindowDpiAwarenessContext
+GetWindowDpiHostingBehavior
 GetWindowFeedbackSetting
 GetWindowInfo
 GetWindowLongA
@@ -515,6 +525,7 @@ InjectDeviceInput
 InjectKeyboardInput
 InjectMouseInput
 InjectPointerInput
+InjectSyntheticPointerInput
 InjectTouchInput
 InsertMenuA
 InsertMenuItemA
@@ -672,6 +683,7 @@ QuerySendMessage
 RIMAddInputObserver
 RIMAreSiblingDevices
 RIMDeviceIoControl
+RIMEnableMonitorMappingForDevice
 RIMFreeInputBuffer
 RIMGetDevicePreparsedData
 RIMGetDevicePreparsedDataLockfree
@@ -706,6 +718,7 @@ RegisterDManipHook
 RegisterDeviceNotificationA
 RegisterDeviceNotificationW
 RegisterErrorReportingDialog
+RegisterForTooltipDismissNotification
 RegisterFrostWindow
 RegisterGhostWindow
 RegisterHotKey
@@ -758,6 +771,7 @@ SendMessageW
 SendNotifyMessageA
 SendNotifyMessageW
 SetActiveWindow
+SetAdditionalForegroundBoostProcesses
 SetCapture
 SetCaretBlinkTime
 SetCaretPos
@@ -775,6 +789,8 @@ SetCursorContents
 SetCursorPos
 SetDebugErrorLevel
 SetDeskWallpaper
+SetDialogControlDpiChangeBehavior
+SetDialogDpiChangeBehavior
 SetDisplayAutoRotationPreferences
 SetDisplayConfig
 SetDlgItemInt
@@ -811,6 +827,7 @@ SetProcessDPIAware
 SetProcessDefaultLayout
 SetProcessDpiAwarenessContext
 SetProcessDpiAwarenessInternal
+SetProcessLaunchForegroundPolicy
 SetProcessRestrictionExemption
 SetProcessWindowStation
 SetProgmanWindow
@@ -831,6 +848,7 @@ SetSystemTimer
 SetTaskmanWindow
 SetThreadDesktop
 SetThreadDpiAwarenessContext
+SetThreadDpiHostingBehavior
 SetThreadInputBlocked
 SetTimer
 SetUserObjectInformationA
@@ -859,6 +877,8 @@ SetWindowsHookA
 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 @@ RegisterDeviceNotificationA@12
 RegisterDeviceNotificationW@12
 RegisterErrorReportingDialog@8
 RegisterFrostWindow@8
+RegisterForTooltipDismissNotification@8
 RegisterGhostWindow@8
 RegisterHotKey@16
 RegisterLogonProcess@8
@@ -799,6 +800,7 @@ SendMessageW@16
 SendNotifyMessageA@16
 SendNotifyMessageW@16
 SetActiveWindow@4
+SetAdditionalForegroundBoostProcesses@12
 SetCapture@4
 SetCaretBlinkTime@4
 SetCaretPos@8
@@ -856,6 +858,7 @@ SetProcessDPIAware@0
 SetProcessDefaultLayout@4
 SetProcessDpiAwarenessContext@4
 SetProcessDpiAwarenessInternal@4
+SetProcessLaunchForegroundPolicy@8
 SetProcessRestrictionExemption@4
 SetProcessWindowStation@4
 SetProgmanWindow@4
@@ -913,6 +916,8 @@ SfmDxReleaseSwapChain@8
 SfmDxReportPendingBindingsToDwm@0
 SfmDxSetSwapChainBindingStatus@8
 SfmDxSetSwapChainStats@8
+ShellMigrateWindow@12
+ShellSetWindowPos@24
 ShowCaret@4
 ShowCursor@4
 ShowOwnedPopups@8
-- 
2.46.1

_______________________________________________
Mingw-w64-public mailing list
Mingw-w64-public@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mingw-w64-public

Reply via email to