On 24.04.2015 3:00, LRN wrote:
> We have the prototype in the header (guarded as Vista-or-later), but no stub 
> in
> the import library. I don't know how to fix that (.def files for implibs seem
> to be special somehow).
> 
> https://msdn.microsoft.com/en-us/library/windows/desktop/ms649033%28v=vs.85%29.aspx
> 
Figured it out, here's a patch

-- 
O< ascii ribbon - stop html email! - www.asciiribbon.org
From a9e29d514fa0c4aead942774c4f4bf3796e8a121 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?=D0=A0=D1=83=D1=81=D0=BB=D0=B0=D0=BD=20=D0=98=D0=B6=D0=B1?=
 =?UTF-8?q?=D1=83=D0=BB=D0=B0=D1=82=D0=BE=D0=B2?= <[email protected]>
Date: Sat, 25 Apr 2015 04:41:07 +0000
Subject: [PATCH] Update lib32/user32.def (gendef'ed from Windows 7 SP1
 version)

---
 mingw-w64-crt/lib32/user32.def | 208 +++++++++++++++++++++++++++++++++++++++--
 1 file changed, 199 insertions(+), 9 deletions(-)

diff --git a/mingw-w64-crt/lib32/user32.def b/mingw-w64-crt/lib32/user32.def
index cc84505..298b06d 100644
--- a/mingw-w64-crt/lib32/user32.def
+++ b/mingw-w64-crt/lib32/user32.def
@@ -1,8 +1,13 @@
 LIBRARY USER32.dll
 EXPORTS
+ord_1500@16 @1500
+ord_1501@4 @1501
 ActivateKeyboardLayout@8
+AddClipboardFormatListener@4
 AdjustWindowRect@12
 AdjustWindowRectEx@16
+AlignRects@16
+AllowForegroundActivation@0
 AllowSetForegroundWindow@4
 AnimateWindow@12
 AnyPopup@0
@@ -19,27 +24,39 @@ BroadcastSystemMessageA@20
 BroadcastSystemMessageExA@24
 BroadcastSystemMessageExW@24
 BroadcastSystemMessageW@20
-CalcChildScroll@8
+BuildReasonArray@12
+CalcMenuBar@20
+CalculatePopupWindowPosition@20
 CallMsgFilter@8
 CallMsgFilterA@8
 CallMsgFilterW@8
 CallNextHookEx@16
 CallWindowProcA@20
 CallWindowProcW@20
+CancelShutdown@0
 CascadeChildWindows@8
 CascadeWindows@20
 ChangeClipboardChain@8
 ChangeDisplaySettingsA@8
-ChangeDisplaySettingsW@8
 ChangeDisplaySettingsExA@20
 ChangeDisplaySettingsExW@20
+ChangeDisplaySettingsW@8
 ChangeMenuA@20
 ChangeMenuW@20
+ChangeWindowMessageFilter@8
+ChangeWindowMessageFilterEx@16
 CharLowerA@4
 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
@@ -53,12 +70,16 @@ CharUpperA@4
 CharUpperBuffA@8
 CharUpperBuffW@8
 CharUpperW@4
+CheckDesktopByThreadId@4
 CheckDlgButton@12
 CheckMenuItem@12
 CheckMenuRadioItem@20
 CheckRadioButton@16
+CheckWindowThreadDesktop@8
 ChildWindowFromPoint@12
 ChildWindowFromPointEx@16
+CliImmSetHotKey@16
+ClientThreadSetup@0
 ClientToScreen@8
 ClipCursor@4
 CloseClipboard@0
@@ -67,6 +88,8 @@ CloseGestureInfoHandle@4
 CloseTouchInputHandle@4
 CloseWindow@4
 CloseWindowStation@4
+ConsoleControl@12
+ControlMagnification@8
 CopyAcceleratorTableA@12
 CopyAcceleratorTableW@12
 CopyIcon@4
@@ -78,8 +101,11 @@ CreateAcceleratorTableW@8
 CreateCaret@16
 CreateCursor@28
 CreateDesktopA@24
+CreateDesktopExA@32
+CreateDesktopExW@32
 CreateDesktopW@24
 CreateDialogIndirectParamA@20
+CreateDialogIndirectParamAorW@24
 CreateDialogIndirectParamW@20
 CreateDialogParamA@20
 CreateDialogParamW@20
@@ -91,10 +117,13 @@ CreateMDIWindowA@40
 CreateMDIWindowW@40
 CreateMenu@0
 CreatePopupMenu@0
+CreateSystemThreads@28 ; Check!!! Couldn't determine function argument count. 
Function doesn't return. 
 CreateWindowExA@48
 CreateWindowExW@48
 CreateWindowStationA@16
 CreateWindowStationW@16
+CsrBroadcastSystemMessageExW@24
+CtxInitUser32@0
 DdeAbandonTransaction@12
 DdeAccessData@8
 DdeAddData@16
@@ -145,13 +174,20 @@ DestroyCaret@0
 DestroyCursor@4
 DestroyIcon@4
 DestroyMenu@4
+DestroyReasons@4
 DestroyWindow@4
+DeviceEventWorker@24
 DialogBoxIndirectParamA@20
+DialogBoxIndirectParamAorW@24
 DialogBoxIndirectParamW@20
 DialogBoxParamA@20
 DialogBoxParamW@20
+DisableProcessWindowsGhosting@0
 DispatchMessageA@4
 DispatchMessageW@4
+DisplayConfigGetDeviceInfo@4
+DisplayConfigSetDeviceInfo@4
+DisplayExitWindowsWarnings@4
 DlgDirListA@20
 DlgDirListComboBoxA@20
 DlgDirListComboBoxW@20
@@ -160,10 +196,14 @@ DlgDirSelectComboBoxExA@16
 DlgDirSelectComboBoxExW@16
 DlgDirSelectExA@16
 DlgDirSelectExW@16
+DoSoundConnect@0
+DoSoundDisconnect@0
 DragDetect@12
 DragObject@20
 DrawAnimatedRects@16
 DrawCaption@16
+DrawCaptionTempA@28
+DrawCaptionTempW@28
 DrawEdge@16
 DrawFocusRect@8
 DrawFrame@16
@@ -171,13 +211,17 @@ DrawFrameControl@16
 DrawIcon@16
 DrawIconEx@36
 DrawMenuBar@4
+DrawMenuBarTemp@20
 DrawStateA@40
 DrawStateW@40
 DrawTextA@20
 DrawTextExA@24
 DrawTextExW@24
 DrawTextW@20
-EditWndProc@16
+DwmGetDxSharedSurface@24
+DwmStartRedirection@4
+DwmStopRedirection@0
+EditWndProc@20
 EmptyClipboard@0
 EnableMenuItem@12
 EnableScrollBar@12
@@ -187,6 +231,7 @@ EndDialog@8
 EndMenu@0
 EndPaint@8
 EndTask@12
+EnterReaderModeHelper@4
 EnumChildWindows@12
 EnumClipboardFormats@4
 EnumDesktopWindows@12
@@ -219,11 +264,14 @@ FlashWindow@8
 FlashWindowEx@4
 FrameRect@12
 FreeDDElParam@8
+FrostCrashedWindow@8
 GetActiveWindow@0
 GetAltTabInfo@20
-GetAltTabInfoA@20      
-GetAltTabInfoW@20      
+GetAltTabInfoA@20
+GetAltTabInfoW@20
 GetAncestor@8
+GetAppCompatFlags2@4
+GetAppCompatFlags@8
 GetAsyncKeyState@4
 GetCapture@0
 GetCaretBlinkTime@0
@@ -247,12 +295,14 @@ GetClipboardSequenceNumber@0
 GetClipboardViewer@0
 GetComboBoxInfo@8
 GetCursor@0
+GetCursorFrameInfo@20
 GetCursorInfo@4
 GetCursorPos@4
 GetDC@4
 GetDCEx@12
 GetDesktopWindow@0
 GetDialogBaseUnits@0
+GetDisplayConfigBufferSizes@12
 GetDlgCtrlID@4
 GetDlgItem@8
 GetDlgItemInt@16
@@ -261,14 +311,18 @@ GetDlgItemTextW@16
 GetDoubleClickTime@0
 GetFocus@0
 GetForegroundWindow@0
+GetGUIThreadInfo@8
 GetGestureConfig@24
 GetGestureExtraArgs@12
 GetGestureInfo@8
-GetGUIThreadInfo@8
 GetGuiResources@8
 GetIconInfo@8
+GetIconInfoExA@8
+GetIconInfoExW@8
 GetInputDesktop@0
+GetInputLocaleInfo@8
 GetInputState@0
+GetInternalWindowPos@12
 GetKBCodePage@0
 GetKeyNameTextA@12
 GetKeyNameTextW@12
@@ -283,6 +337,9 @@ GetLastActivePopup@4
 GetLastInputInfo@4
 GetLayeredWindowAttributes@16
 GetListBoxInfo@4
+GetMagnificationDesktopColorEffect@4
+GetMagnificationDesktopMagnification@12
+GetMagnificationLensCtxInformation@16
 GetMenu@4
 GetMenuBarInfo@16
 GetMenuCheckMarkDimensions@0
@@ -309,22 +366,26 @@ GetNextDlgGroupItem@12
 GetNextDlgTabItem@12
 GetOpenClipboardWindow@0
 GetParent@4
+GetPhysicalCursorPos@4
 GetPriorityClipboardFormat@8
 GetProcessDefaultLayout@4
 GetProcessWindowStation@0
+GetProgmanWindow@0
 GetPropA@8
 GetPropW@8
+GetQueueStatus@4
 GetRawInputBuffer@12
 GetRawInputData@20
 GetRawInputDeviceInfoA@16
 GetRawInputDeviceInfoW@16
 GetRawInputDeviceList@12
+GetReasonTitleFromReasonCode@12
 GetRegisteredRawInputDevices@12
-GetQueueStatus@4
 GetScrollBarInfo@12
 GetScrollInfo@12
 GetScrollPos@8
 GetScrollRange@16
+GetSendMessageReceiver@4
 GetShellWindow@0
 GetSubMenu@8
 GetSysColor@4
@@ -333,45 +394,65 @@ GetSystemMenu@8
 GetSystemMetrics@4
 GetTabbedTextExtentA@20
 GetTabbedTextExtentW@20
+GetTaskmanWindow@0
 GetThreadDesktop@4
 GetTitleBarInfo@8
+GetTopLevelWindow@4
 GetTopWindow@4
 GetTouchInputInfo@16
 GetUpdateRect@12
 GetUpdateRgn@12
+GetUpdatedClipboardFormats@12
 GetUserObjectInformationA@20
 GetUserObjectInformationW@20
 GetUserObjectSecurity@20
+GetWinStationInfo@4
 GetWindow@8
+GetWindowCompositionAttribute@8
+GetWindowCompositionInfo@8
 GetWindowContextHelpId@4
 GetWindowDC@4
+GetWindowDisplayAffinity@8
 GetWindowInfo@8
 GetWindowLongA@8
 GetWindowLongW@8
+GetWindowMinimizeRect@8
 GetWindowModuleFileName@12
 GetWindowModuleFileNameA@12
 GetWindowModuleFileNameW@12
 GetWindowPlacement@8
 GetWindowRect@8
 GetWindowRgn@8
+GetWindowRgnBox@8
+GetWindowRgnEx@12
 GetWindowTextA@12
 GetWindowTextLengthA@4
 GetWindowTextLengthW@4
 GetWindowTextW@12
 GetWindowThreadProcessId@8
 GetWindowWord@8
+GhostWindowFromHungWindow@4
 GrayStringA@36
 GrayStringW@36
 HideCaret@4
 HiliteMenuItem@16
+HungWindowFromGhostWindow@4
+IMPGetIMEA@8
+IMPGetIMEW@8
+IMPQueryIMEA@4
+IMPQueryIMEW@4
+IMPSetIMEA@8
+IMPSetIMEW@8
 ImpersonateDdeClientWindow@8
 InSendMessage@0
 InSendMessageEx@4
 InflateRect@12
+InitializeLpkHooks@4
 InsertMenuA@20
 InsertMenuItemA@16
 InsertMenuItemW@16
 InsertMenuW@20
+InternalGetWindowIcon@8
 InternalGetWindowText@12
 IntersectRect@12
 InvalidateRect@12
@@ -395,15 +476,22 @@ IsGUIThread@4
 IsHungAppWindow@4
 IsIconic@4
 IsMenu@4
+IsProcessDPIAware@0
 IsRectEmpty@4
+IsSETEnabled@0
+IsServerSideWindow@4
+IsThreadDesktopComposited@0
+IsTopLevelWindow@4
 IsTouchWindow@8
 IsWinEventHookInstalled@4
 IsWindow@4
 IsWindowEnabled@4
+IsWindowInDestroy@4
+IsWindowRedirectedForPrint@4
 IsWindowUnicode@4
 IsWindowVisible@4
+IsWow64Message@0
 IsZoomed@4
-KillSystemTimer@8
 KillTimer@8
 LoadAcceleratorsA@8
 LoadAcceleratorsW@8
@@ -412,24 +500,35 @@ 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
 LoadKeyboardLayoutA@8
+LoadKeyboardLayoutEx@12
 LoadKeyboardLayoutW@8
+LoadLocalFonts@0
 LoadMenuA@8
 LoadMenuIndirectA@4
 LoadMenuIndirectW@4
 LoadMenuW@8
+LoadRemoteFonts@0
 LoadStringA@16
 LoadStringW@16
 LockSetForegroundWindow@4
+LockWindowStation@4
 LockWindowUpdate@4
 LockWorkStation@0
+LogicalToPhysicalPoint@8
 LookupIconIdFromDirectory@8
 LookupIconIdFromDirectoryEx@20
+MBToWCSEx@24
+MB_GetString@4
 MapDialogRect@8
 MapVirtualKeyA@8
 MapVirtualKeyExA@12
@@ -437,12 +536,16 @@ MapVirtualKeyExW@12
 MapVirtualKeyW@8
 MapWindowPoints@16
 MenuItemFromPoint@16
+MenuWindowProcA@20
+MenuWindowProcW@20
 MessageBeep@4
 MessageBoxA@16
 MessageBoxExA@20
 MessageBoxExW@20
 MessageBoxIndirectA@4
 MessageBoxIndirectW@4
+MessageBoxTimeoutA@24
+MessageBoxTimeoutW@24
 MessageBoxW@16
 ModifyMenuA@20
 ModifyMenuW@20
@@ -452,6 +555,7 @@ MonitorFromWindow@8
 MoveWindow@24
 MsgWaitForMultipleObjects@20
 MsgWaitForMultipleObjectsEx@20
+NotifyOverlayWindow@8
 NotifyWinEvent@16
 OemKeyScan@4
 OemToCharA@8
@@ -464,24 +568,37 @@ OpenDesktopA@16
 OpenDesktopW@16
 OpenIcon@4
 OpenInputDesktop@12
+OpenThreadDesktop@16
 OpenWindowStationA@12
 OpenWindowStationW@12
 PackDDElParam@12
 PaintDesktop@4
+PaintMenuBar@24
+PaintMonitor@12
 PeekMessageA@20
 PeekMessageW@20
+PhysicalToLogicalPoint@8
 PostMessageA@16
 PostMessageW@16
 PostQuitMessage@4
 PostThreadMessageA@16
 PostThreadMessageW@16
 PrintWindow@12
+PrivateExtractIconExA@20
+PrivateExtractIconExW@20
 PrivateExtractIconsA@32
 PrivateExtractIconsW@32
+PrivateRegisterICSProc@4
 PtInRect@12
+QueryDisplayConfig@24
+QuerySendMessage@4
 RealChildWindowFromPoint@12
+RealGetWindowClass@12
 RealGetWindowClassA@12
 RealGetWindowClassW@12
+ReasonCodeNeedsBugID@4
+ReasonCodeNeedsComment@4
+RecordShutdownReason@4
 RedrawWindow@16
 RegisterClassA@4
 RegisterClassExA@4
@@ -491,18 +608,31 @@ RegisterClipboardFormatA@4
 RegisterClipboardFormatW@4
 RegisterDeviceNotificationA@12
 RegisterDeviceNotificationW@12
+RegisterErrorReportingDialog@8
+RegisterFrostWindow@8
+RegisterGhostWindow@8
 RegisterHotKey@16
+RegisterLogonProcess@8
+RegisterMessagePumpHook@4
 RegisterPowerSettingNotification@12
 RegisterRawInputDevices@12
+RegisterServicesProcess@4
+RegisterSessionPort@8
+RegisterShellHookWindow@4
+RegisterSystemThread@8
+RegisterTasklist@4
 RegisterTouchWindow@8
+RegisterUserApiHook@4
 RegisterWindowMessageA@4
 RegisterWindowMessageW@4
 ReleaseCapture@0
 ReleaseDC@8
+RemoveClipboardFormatListener@4
 RemoveMenu@12
 RemovePropA@8
 RemovePropW@8
 ReplyMessage@4
+ResolveDesktopForWOW@4
 ReuseDDElParam@20
 ScreenToClient@8
 ScrollChildren@12
@@ -511,6 +641,8 @@ ScrollWindow@20
 ScrollWindowEx@32
 SendDlgItemMessageA@20
 SendDlgItemMessageW@20
+SendIMEMessageExA@8
+SendIMEMessageExW@8
 SendInput@12
 SendMessageA@16
 SendMessageCallbackA@24
@@ -530,9 +662,11 @@ SetClassWord@12
 SetClipboardData@8
 SetClipboardViewer@4
 SetCursor@4
+SetCursorContents@8
 SetCursorPos@8
 SetDebugErrorLevel@4
 SetDeskWallpaper@4
+SetDisplayConfig@20
 SetDlgItemInt@16
 SetDlgItemTextA@12
 SetDlgItemTextW@12
@@ -540,9 +674,13 @@ SetDoubleClickTime@4
 SetFocus@4
 SetForegroundWindow@4
 SetGestureConfig@20
+SetInternalWindowPos@16
 SetKeyboardState@4
 SetLastErrorEx@8
 SetLayeredWindowAttributes@16
+SetMagnificationDesktopColorEffect@4
+SetMagnificationDesktopMagnification@16
+SetMagnificationLensCtxInformation@16
 SetMenu@8
 SetMenuContextHelpId@8
 SetMenuDefaultItem@12
@@ -552,9 +690,13 @@ SetMenuItemInfoA@16
 SetMenuItemInfoW@16
 SetMessageExtraInfo@4
 SetMessageQueue@4
+SetMirrorRendering@8
 SetParent@8
+SetPhysicalCursorPos@8
+SetProcessDPIAware@0
 SetProcessDefaultLayout@4
 SetProcessWindowStation@4
+SetProgmanWindow@4
 SetPropA@12
 SetPropW@12
 SetRect@20
@@ -563,22 +705,28 @@ SetScrollInfo@16
 SetScrollPos@16
 SetScrollRange@20
 SetShellWindow@4
+SetShellWindowEx@8
 SetSysColors@12
+SetSysColorsTemp@12
 SetSystemCursor@8
 SetSystemMenu@8
-SetSystemTimer@16
+SetTaskmanWindow@4
 SetThreadDesktop@4
 SetTimer@16
 SetUserObjectInformationA@16
 SetUserObjectInformationW@16
 SetUserObjectSecurity@12
 SetWinEventHook@28
+SetWindowCompositionAttribute@8
 SetWindowContextHelpId@8
+SetWindowDisplayAffinity@8
 SetWindowLongA@12
 SetWindowLongW@12
 SetWindowPlacement@8
 SetWindowPos@28
 SetWindowRgn@12
+SetWindowRgnEx@12
+SetWindowStationUser@16
 SetWindowTextA@8
 SetWindowTextW@8
 SetWindowWord@12
@@ -586,15 +734,31 @@ SetWindowsHookA@8
 SetWindowsHookExA@16
 SetWindowsHookExW@16
 SetWindowsHookW@8
+SfmDxBindSwapChain@12
+SfmDxGetSwapChainStats@8
+SfmDxOpenSwapChain@16
+SfmDxQuerySwapChainBindingStatus@12
+SfmDxReleaseSwapChain@8
+SfmDxReportPendingBindingsToDwm@0
+SfmDxSetSwapChainBindingStatus@8
+SfmDxSetSwapChainStats@8
 ShowCaret@4
 ShowCursor@4
 ShowOwnedPopups@8
 ShowScrollBar@12
+ShowStartGlass@4
+ShowSystemCursor@4
 ShowWindow@8
 ShowWindowAsync@8
+ShutdownBlockReasonCreate@8
+ShutdownBlockReasonDestroy@4
+ShutdownBlockReasonQuery@12
+SoftModalMessageBox@4
+SoundSentry@0
 SubtractRect@12
 SwapMouseButton@4
 SwitchDesktop@4
+SwitchDesktopWithFade@8
 SwitchToThisWindow@8
 SystemParametersInfoA@16
 SystemParametersInfoW@16
@@ -614,37 +778,63 @@ TranslateAcceleratorA@12
 TranslateAcceleratorW@12
 TranslateMDISysAccel@8
 TranslateMessage@4
+TranslateMessageEx@8
 UnhookWinEvent@4
 UnhookWindowsHook@8
 UnhookWindowsHookEx@4
 UnionRect@12
 UnloadKeyboardLayout@4
+UnlockWindowStation@4
 UnpackDDElParam@16
 UnregisterClassA@8
 UnregisterClassW@8
 UnregisterDeviceNotification@4
 UnregisterHotKey@8
+UnregisterMessagePumpHook@0
 UnregisterPowerSettingNotification@4
+UnregisterSessionPort@0
 UnregisterTouchWindow@4
+UnregisterUserApiHook@0
 UpdateLayeredWindow@36
 UpdateLayeredWindowIndirect@8
+UpdatePerUserSystemParameters@4
 UpdateWindow@4
+UpdateWindowTransform@12
+User32InitializeImmEntryTable@4
+UserClientDllInitialize@12
 UserHandleGrantAccess@12
+UserLpkPSMTextOut@24
+UserLpkTabbedTextOut@48
+UserRealizePalette@4
+UserRegisterWowHandlers@8
+VRipOutput@0
+VTagOutput@0
 ValidateRect@8
 ValidateRgn@8
 VkKeyScanA@4
 VkKeyScanExA@8
 VkKeyScanExW@8
 VkKeyScanW@4
+WCSToMBEx@24
+WINNLSEnableIME@8
+WINNLSGetEnableStatus@4
+WINNLSGetIMEHotkey@4
 WaitForInputIdle@8
 WaitMessage@0
 WinHelpA@16
 WinHelpW@16
 WindowFromDC@4
+WindowFromPhysicalPoint@8
 WindowFromPoint@8
+_UserTestTokenForInteractive@8
+gSharedInfo DATA
+gapfnScSendMessage DATA
 keybd_event@16
 mouse_event@20
 wsprintfA
 wsprintfW
 wvsprintfA@12
 wvsprintfW@12
+ord_2500@16 @2500
+ord_2501@12 @2501
+ord_2502@8 @2502
-- 
1.8.5.3

Attachment: 0x922360B0.asc
Description: application/pgp-keys

Attachment: signature.asc
Description: OpenPGP digital signature

------------------------------------------------------------------------------
One dashboard for servers and applications across Physical-Virtual-Cloud 
Widest out-of-the-box monitoring support with 50+ applications
Performance metrics, stats and reports that give you Actionable Insights
Deep dive visibility with transaction tracing using APM Insight.
http://ad.doubleclick.net/ddm/clk/290420510;117567292;y
_______________________________________________
Mingw-w64-public mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mingw-w64-public

Reply via email to