Re: [Mingw-w64-public] [PATCH 1/4] crt: Add new APIs to lib32/user32.def
On 11/28/21 22:32, Martin Storsjö wrote: The new symbols are dumped from Windows 10 19043. The current version of user32.dll there don't include all symbols that are listed in our user32.def, but keeping them untouched for now. This fixes building the latest dev branch of Qt for i686. Patches look good, pushed to master branch. ___ Mingw-w64-public mailing list Mingw-w64-public@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mingw-w64-public
[Mingw-w64-public] [PATCH 2/4] crt: Remove two duplicate symbols in lib32/user32.def
These were listed twice. Signed-off-by: Martin Storsjö --- mingw-w64-crt/lib32/user32.def | 2 -- 1 file changed, 2 deletions(-) diff --git a/mingw-w64-crt/lib32/user32.def b/mingw-w64-crt/lib32/user32.def index 429474aa9..56207f3e7 100644 --- a/mingw-w64-crt/lib32/user32.def +++ b/mingw-w64-crt/lib32/user32.def @@ -455,7 +455,6 @@ GetRawInputDeviceList@12 GetRawPointerDeviceData@20 GetReasonTitleFromReasonCode@12 GetRegisteredRawInputDevices@12 -GetQueueStatus@4 GetScrollBarInfo@12 GetScrollInfo@12 GetScrollPos@8 @@ -768,7 +767,6 @@ RegisterErrorReportingDialog@8 RegisterFrostWindow@8 RegisterGhostWindow@8 RegisterHotKey@16 -RegisterPowerSettingNotification@12 RegisterLogonProcess@8 RegisterMessagePumpHook@4 RegisterPointerDeviceNotifications@8 -- 2.25.1 ___ Mingw-w64-public mailing list Mingw-w64-public@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mingw-w64-public
[Mingw-w64-public] [PATCH 1/4] crt: Add new APIs to lib32/user32.def
The new symbols are dumped from Windows 10 19043. The current version of user32.dll there don't include all symbols that are listed in our user32.def, but keeping them untouched for now. This fixes building the latest dev branch of Qt for i686. Signed-off-by: Martin Storsjö --- mingw-w64-crt/lib32/user32.def | 108 + 1 file changed, 108 insertions(+) diff --git a/mingw-w64-crt/lib32/user32.def b/mingw-w64-crt/lib32/user32.def index c20d16835..429474aa9 100644 --- a/mingw-w64-crt/lib32/user32.def +++ b/mingw-w64-crt/lib32/user32.def @@ -3,10 +3,14 @@ EXPORTS ;ord_1500@16 @1500 ;ord_1501@4 @1501 ;ord_1502@12 @1502 +GetPointerFrameArrivalTimes@12 +Wow64Transition DATA ActivateKeyboardLayout@8 AddClipboardFormatListener@4 +AddVisualIdentifier@8 AdjustWindowRect@12 AdjustWindowRectEx@16 +AdjustWindowRectExForDpi@20 AlignRects@16 AllowForegroundActivation@0 AllowSetForegroundWindow@4 @@ -14,6 +18,7 @@ AnimateWindow@12 AnyPopup@0 AppendMenuA@16 AppendMenuW@16 +AreDpiAwarenessContextsEqual@8 ArrangeIconicWindows@4 AttachThreadInput@12 BeginDeferWindowPos@4 @@ -46,6 +51,7 @@ ChangeDisplaySettingsW@8 ChangeMenuA@20 ChangeMenuW@20 ChangeWindowMessageFilter@8 +DwmGetDxRgn@12 ChangeWindowMessageFilterEx@16 CharLowerA@4 CharLowerBuffA@8 @@ -73,6 +79,7 @@ CharUpperBuffA@8 CharUpperBuffW@8 CharUpperW@4 CheckDesktopByThreadId@4 +CheckBannedOneCoreTransformApi@4 CheckDBCSEnabledExt@0 CheckDlgButton@12 CheckMenuItem@12 @@ -123,10 +130,12 @@ CreateMDIWindowA@40 CreateMDIWindowW@40 CreateMenu@0 CreatePopupMenu@0 +CreateSyntheticPointerDevice@12 CreateSystemThreads@16 ; ReactOS has the @8 variant CreateWindowExA@48 CreateWindowExW@48 CreateWindowInBand@52 +CreateWindowInBandEx@56 CreateWindowIndirect@4 CreateWindowStationA@16 CreateWindowStationW@16 @@ -185,6 +194,7 @@ DestroyDCompositionHwndTarget@8 DestroyIcon@4 DestroyMenu@4 DestroyReasons@4 +DestroySyntheticPointerDevice@4 DestroyWindow@4 DeviceEventWorker@24 ; No documentation whatsoever, ReactOS has a stub with @20 - https://www.reactos.org/archives/public/ros-diffs/2011-February/040308.html DialogBoxIndirectParamA@20 @@ -231,6 +241,8 @@ DrawTextW@20 DwmGetDxSharedSurface@24 DwmGetRemoteSessionOcclusionEvent@0 DwmGetRemoteSessionOcclusionState@0 +DwmKernelShutdown@0 +DwmKernelStartup@0 DwmLockScreenUpdates@4 DwmStartRedirection@8 ; Mentioned on http://habrahabr.ru/post/145174/ , enables GDI virtualization (for security purposes) DwmStopRedirection@0 @@ -239,6 +251,8 @@ EditWndProc@16 EmptyClipboard@0 EnableMenuItem@12 EnableMouseInPointer@4 +EnableNonClientDpiScaling@4 +EnableOneCoreTransformMode@0 EnableScrollBar@12 EnableSessionForMMCSS@4 EnableWindow@8 @@ -293,6 +307,7 @@ GetAppCompatFlags2@4 GetAppCompatFlags@8 ; ReactOS has @4 version http://doxygen.reactos.org/d9/d71/undocuser_8h_a9b76cdc68c523a061c86a40367049ed2.html GetAsyncKeyState@4 GetAutoRotationState@4 +GetAwarenessFromDpiAwarenessContext@4 GetCIMSSM@4 GetCapture@0 GetCaretBlinkTime@0 @@ -326,6 +341,8 @@ GetDCEx@12 GetDesktopID@8 GetDesktopWindow@0 GetDialogBaseUnits@0 +GetDialogControlDpiChangeBehavior@4 +GetDialogDpiChangeBehavior@4 GetDisplayAutoRotationPreferences@4 GetDisplayConfigBufferSizes@12 GetDlgCtrlID@4 @@ -334,7 +351,12 @@ GetDlgItemInt@16 GetDlgItemTextA@16 GetDlgItemTextW@16 GetDoubleClickTime@0 +GetDpiAwarenessContextForProcess@4 GetDpiForMonitorInternal@16 +GetDpiForSystem@0 +GetDpiForWindow@4 +GetDpiFromDpiAwarenessContext@4 +GetExtendedPointerDeviceProperty@8 GetFocus@0 GetForegroundWindow@0 GetGUIThreadInfo@8 @@ -365,6 +387,7 @@ GetLayeredWindowAttributes@16 GetListBoxInfo@4 GetMagnificationDesktopColorEffect@4 GetMagnificationDesktopMagnification@12 +GetMagnificationDesktopSamplingMode@4 GetMagnificationLensCtxInformation@16 GetMenu@4 GetMenuBarInfo@16 @@ -396,6 +419,8 @@ GetPhysicalCursorPos@4 GetPointerCursorId@8 GetPointerDevice@8 GetPointerDeviceCursors@12 +GetPointerDeviceInputSpace@8 +GetPointerDeviceOrientation@8 GetPointerDeviceProperties@12 GetPointerDeviceRects@12 GetPointerDevices@8 @@ -403,6 +428,7 @@ GetPointerFrameInfo@12 GetPointerFrameInfoHistory@16 GetPointerFramePenInfo@12 GetPointerFramePenInfoHistory@16 +GetPointerFrameTimes@12 GetPointerFrameTouchInfo@12 GetPointerFrameTouchInfoHistory@16 GetPointerInfo@8 @@ -435,16 +461,21 @@ GetScrollInfo@12 GetScrollPos@8 GetScrollRange@16 GetSendMessageReceiver@4 +GetShellChangeNotifyWindow@0 GetShellWindow@0 GetSubMenu@8 GetSysColor@4 GetSysColorBrush@4 +GetSystemDpiForProcess@4 GetSystemMenu@8 GetSystemMetrics@4 +GetSystemMetricsForDpi@8 GetTabbedTextExtentA@20 GetTabbedTextExtentW@20 GetTaskmanWindow@0 GetThreadDesktop@4 +GetThreadDpiAwarenessContext@0 +GetThreadDpiHostingBehavior@0 GetTitleBarInfo@8 GetTopLevelWindow@4 GetTopWindow@4 @@ -464,6 +495,8 @@ GetWindowCompositionInfo@8 GetWindowContextHelpId@4 GetWindowDC@4 GetWindowDisplayAffinity@8 +GetWindowDpiAwarenessContext@4
[Mingw-w64-public] [PATCH 4/4] crt: Remove commented out ordinal symbols from user32.def
This makes it easier to sync in changes from dumps from newer versions of the DLL. Signed-off-by: Martin Storsjö --- mingw-w64-crt/lib32/user32.def | 79 -- 1 file changed, 79 deletions(-) diff --git a/mingw-w64-crt/lib32/user32.def b/mingw-w64-crt/lib32/user32.def index ac3164d2f..cd0cd1841 100644 --- a/mingw-w64-crt/lib32/user32.def +++ b/mingw-w64-crt/lib32/user32.def @@ -1,8 +1,5 @@ LIBRARY USER32.dll EXPORTS -;ord_1500@16 @1500 -;ord_1501@4 @1501 -;ord_1502@12 @1502 GetPointerFrameArrivalTimes@12 Wow64Transition DATA ActivateKeyboardLayout@8 @@ -58,13 +55,6 @@ CharLowerBuffA@8 CharLowerBuffW@8 CharLowerW@4 CharNextA@4 -;ord_1550@12 @1550 -;ord_1551@8 @1551 -;ord_1552@8 @1552 -;ord_1553@12 @1553 -;ord_1554@8 @1554 -;ord_1555@16 @1555 -;ord_1556@4 @1556 CharNextExA@12 CharNextW@4 CharPrevA@8 @@ -554,16 +544,12 @@ InsertMenuItemA@16 InsertMenuItemW@16 InsertMenuW@20 InternalGetWindowIcon@8 -;ord_2001@4 @2001 -;ord_2002@4 @2002 InternalGetWindowText@12 IntersectRect@12 -;ord_2005@4 @2005 InvalidateRect@12 InvalidateRgn@12 InvertRect@8 IsCharAlphaA@4 -;ord_2010@16 @2010 IsCharAlphaNumericA@4 IsCharAlphaNumericW@4 IsCharAlphaW@4 @@ -615,12 +601,8 @@ LoadBitmapW@8 LoadCursorA@8 LoadCursorFromFileA@4 LoadCursorFromFileW@4 -;ord_2000@0 @2000 -;ord_2001@4 @2001 -;ord_2002@4 @2002 LoadCursorW@8 LoadIconA@8 -;ord_2005@4 @2005 LoadIconW@8 LoadImageA@24 LoadImageW@24 @@ -1037,68 +1019,7 @@ wvsprintfW@12 DelegateInput@24 UndelegateInput@8 HandleDelegatedInput@8 -;ord_2500@16 @2500 -;ord_2501@12 @2501 -;ord_2502@8 @2502 -;ord_2503@24 @2503 -;ord_2504@8 @2504 -;ord_2505@8 @2505 -;ord_2506@12 @2506 -;ord_2507@4 @2507 -;ord_2508@8 @2508 -;ord_2509@4 @2509 -;ord_2510@12 @2510 -;ord_2511@8 @2511 -;ord_2512@12 @2512 -;ord_2513@4 @2513 -;ord_2514@8 @2514 -;ord_2515@8 @2515 -;ord_2516@12 @2516 -;ord_2517@4 @2517 -;ord_2518@0 @2518 -;ord_2519@4 @2519 -;ord_2520@0 @2520 -;ord_2521@8 @2521 -;ord_2522@4 @2522 -;ord_2523@8 @2523 -;ord_2524@8 @2524 -;ord_2525@12 @2525 -;ord_2526@12 @2526 -;ord_2527@12 @2527 GetProcessUIContextInformation@8 IsThreadMessageQueueAttached@4 -;ord_2529@4 @2529 -;ord_2530@8 @2530 -;ord_2531@16 @2531 -;ord_2532@8 @2532 -;ord_2533@4 @2533 -;ord_2534@8 @2534 -;ord_2535@0 @2535 -;ord_2536@8 @2536 -;ord_2537@16 @2537 -;ord_2538@4 @2538 -;ord_2539@4 @2539 -;ord_2540@4 @2540 -;ord_2541@0 @2541 -;ord_2544@4 @2544 -;ord_2545@8 @2545 -;ord_2546@4 @2546 -;ord_2547@4 @2547 -;ord_2548@4 @2548 -;ord_2549@4 @2549 -;ord_2550@8 @2550 -;ord_2551@20 @2551 -;ord_2552@8 @2552 -;ord_2553@32 @2553 -;ord_2554@12 @2554 -;ord_2555@16 @2555 -;ord_2556@8 @2556 -;ord_2557@12 @2557 -;ord_2558@12 @2558 -;ord_2559@16 @2559 -;ord_2560@20 @2560 -;ord_2561@0 @2561 -;ord_2562@0 @2562 -;ord_2563@0 @2563 ReportInertia@20 SetCoreWindow@8 -- 2.25.1 ___ Mingw-w64-public mailing list Mingw-w64-public@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mingw-w64-public
[Mingw-w64-public] [PATCH 3/4] crt: Update the decoration of the EditWndProc symbol to EditWndProc@20
This function seems to be undocumented (we don't have any declaration of it in any header), but this is the form it gets dumped from current user32.dll. Signed-off-by: Martin Storsjö --- mingw-w64-crt/lib32/user32.def | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mingw-w64-crt/lib32/user32.def b/mingw-w64-crt/lib32/user32.def index 56207f3e7..ac3164d2f 100644 --- a/mingw-w64-crt/lib32/user32.def +++ b/mingw-w64-crt/lib32/user32.def @@ -247,7 +247,7 @@ DwmLockScreenUpdates@4 DwmStartRedirection@8 ; Mentioned on http://habrahabr.ru/post/145174/ , enables GDI virtualization (for security purposes) DwmStopRedirection@0 DwmValidateWindow@8 -EditWndProc@16 +EditWndProc@20 EmptyClipboard@0 EnableMenuItem@12 EnableMouseInPointer@4 -- 2.25.1 ___ Mingw-w64-public mailing list Mingw-w64-public@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mingw-w64-public