From f1c77d98677b1b04ecfbddf1d0bcaceee2c7ddd2 Mon Sep 17 00:00:00 2001 From: Biswapriyo Nath <[email protected]> Date: Fri, 16 Sep 2022 13:17:36 +0530 Subject: [PATCH 2/2] crt: Add missing APIs in comctl32
Required for Notepad++ Signed-off-by: Biswapriyo Nath <[email protected]> --- mingw-w64-crt/lib-common/comctl32.def | 25 +++++ mingw-w64-crt/lib32/comctl32.def | 154 +++++++++++++++----------- 2 files changed, 117 insertions(+), 62 deletions(-) diff --git a/mingw-w64-crt/lib-common/comctl32.def b/mingw-w64-crt/lib-common/comctl32.def index 6683f72..e42ad89 100644 --- a/mingw-w64-crt/lib-common/comctl32.def +++ b/mingw-w64-crt/lib-common/comctl32.def @@ -24,6 +24,7 @@ CreateToolbarEx DestroyPropertySheetPage DllGetVersion DllInstall +DrawShadowText DrawStatusText DrawStatusTextW FlatSB_EnableScrollBar @@ -38,13 +39,16 @@ FlatSB_SetScrollProp FlatSB_SetScrollRange FlatSB_ShowScrollBar GetMUILanguage +HIMAGELIST_QueryInterface ImageList_Add ImageList_AddIcon ImageList_AddMasked ImageList_BeginDrag +ImageList_CoCreateInstance ImageList_Copy ImageList_Create ImageList_Destroy +ImageList_DestroyShared ImageList_DragEnter ImageList_DragLeave ImageList_DragMove @@ -67,9 +71,11 @@ ImageList_LoadImageA ImageList_LoadImageW ImageList_Merge ImageList_Read +ImageList_ReadEx ImageList_Remove ImageList_Replace ImageList_ReplaceIcon +ImageList_Resize ImageList_SetBkColor ImageList_SetDragCursorImage ImageList_SetFilter @@ -78,6 +84,7 @@ ImageList_SetIconSize ImageList_SetImageCount ImageList_SetOverlayImage ImageList_Write +ImageList_WriteEx InitCommonControlsEx InitMUILanguage InitializeFlatSB @@ -89,6 +96,17 @@ RegisterClassNameW UninitializeFlatSB _TrackMouseEvent FreeMRUList +DrawSizeBox +DrawScrollBar +SizeBoxHwnd +ScrollBar_MouseMove +ScrollBar_Menu +HandleScrollCmd +DetachScrollBars +AttachScrollBars +CCSetScrollInfo +CCGetScrollInfo +CCEnableScrollBar Str_SetPtrW DSA_Create DSA_Destroy @@ -111,14 +129,21 @@ DPA_DeleteAllPtrs DPA_Sort DPA_Search DPA_CreateEx +DSA_Clone +DSA_Sort +DPA_GetSize +DSA_GetSize +LoadIconWithScaleDown DPA_EnumCallback DPA_DestroyCallback DSA_EnumCallback DSA_DestroyCallback +QuerySystemGestureStatus CreateMRUListW AddMRUStringW EnumMRUListW SetWindowSubclass +GetWindowSubclass RemoveWindowSubclass DefSubclassProc TaskDialog diff --git a/mingw-w64-crt/lib32/comctl32.def b/mingw-w64-crt/lib32/comctl32.def index c7b8d6f..65b58dd 100644 --- a/mingw-w64-crt/lib32/comctl32.def +++ b/mingw-w64-crt/lib32/comctl32.def @@ -1,70 +1,53 @@ -LIBRARY COMCTL32.DLL +LIBRARY COMCTL32.dll EXPORTS -_TrackMouseEvent@4 -AddMRUData@12 -AddMRUStringA@8 -AddMRUStringW@8 -Alloc@4 -CreateMRUListA@4 -CreateMRUListW@4 +MenuHelp@28 +ShowHideMenuCtl@12 +GetEffectiveClientRect@12 +DrawStatusTextA@16 +CreateStatusWindowA@16 +CreateToolbar@32 CreateMappedBitmap@20 -CreatePage@8 +DPA_LoadStream@16 +DPA_SaveStream@16 +DPA_Merge@24 CreatePropertySheetPage@4 +MakeDragList@4 +LBItemFromPt@16 +DrawInsert@12 +CreateUpDownControl@48 +InitCommonControls@0 CreatePropertySheetPageA@4 CreatePropertySheetPageW@4 -CreateProxyPage@8 CreateStatusWindow@16 -CreateStatusWindowA@16 CreateStatusWindowW@16 -CreateToolbar@32 CreateToolbarEx@52 -CreateUpDownControl@48 -DPA_Clone@8 -DPA_Create@4 -DPA_CreateEx@8 -DPA_DeleteAllPtrs@4 -DPA_DeletePtr@8 -DPA_Destroy@4 -DPA_GetPtr@8 -DPA_GetPtrIndex@8 -DPA_Grow@8 -DPA_InsertPtr@12 -DPA_Search@24 -DPA_SetPtr@12 -DPA_Sort@12 -DSA_Create@8 -DSA_DeleteAllItems@4 -DSA_DeleteItem@8 -DSA_Destroy@4 -DSA_GetItem@12 -DSA_GetItemPtr@8 -DSA_InsertItem@12 -DSA_SetItem@12 -DefSubclassProc@16 -DelMRUString@8 DestroyPropertySheetPage@4 -DrawInsert@12 +DllGetVersion@4 +DllInstall@8 +DrawShadowText@36 DrawStatusText@16 -DrawStatusTextA@16 DrawStatusTextW@16 -EnumMRUListA@16 -EnumMRUListW@16 -FindMRUData@16 -FindMRUStringA@12 -FindMRUStringW@12 -Free@4 -FreeMRUList@4 -GetEffectiveClientRect@12 +FlatSB_EnableScrollBar@12 +FlatSB_GetScrollInfo@12 +FlatSB_GetScrollPos@8 +FlatSB_GetScrollProp@12 +FlatSB_GetScrollRange@16 +FlatSB_SetScrollInfo@16 +FlatSB_SetScrollPos@16 +FlatSB_SetScrollProp@16 +FlatSB_SetScrollRange@20 +FlatSB_ShowScrollBar@12 GetMUILanguage@0 -GetSize@4 -GetWindowSubclass@16 +HIMAGELIST_QueryInterface@12 ImageList_Add@12 ImageList_AddIcon@8 ImageList_AddMasked@12 ImageList_BeginDrag@16 +ImageList_CoCreateInstance@16 ImageList_Copy@20 ImageList_Create@20 ImageList_Destroy@4 +ImageList_DestroyShared@4 ImageList_DragEnter@12 ImageList_DragLeave@4 ImageList_DragMove@8 @@ -76,6 +59,7 @@ ImageList_Duplicate@4 ImageList_EndDrag@0 ImageList_GetBkColor@4 ImageList_GetDragImage@8 +ImageList_GetFlags@4 ImageList_GetIcon@12 ImageList_GetIconSize@12 ImageList_GetImageCount@4 @@ -86,34 +70,80 @@ ImageList_LoadImageA@28 ImageList_LoadImageW@28 ImageList_Merge@24 ImageList_Read@4 +ImageList_ReadEx@16 ImageList_Remove@8 ImageList_Replace@16 ImageList_ReplaceIcon@12 +ImageList_Resize@12 ImageList_SetBkColor@8 ImageList_SetDragCursorImage@16 +ImageList_SetFilter@12 +ImageList_SetFlags@8 ImageList_SetIconSize@12 ImageList_SetImageCount@8 ImageList_SetOverlayImage@12 ImageList_Write@8 -InitCommonControls@0 +ImageList_WriteEx@12 InitCommonControlsEx@4 InitMUILanguage@4 -LBItemFromPt@16 -LoadIconMetric@16 -MakeDragList@4 -MenuHelp@28 +InitializeFlatSB@4 PropertySheet@4 PropertySheetA@4 PropertySheetW@4 -ReAlloc@8 -RemoveWindowSubclass@12 -SendNotify@16 -SendNotifyEx@20 -SetWindowSubclass@16 -ShowHideMenuCtl@12 -Str_GetPtrA@12 -Str_GetPtrW@12 -Str_SetPtrA@8 +RegisterClassNameW@4 +UninitializeFlatSB@4 +_TrackMouseEvent@4 +FreeMRUList@4 +DrawSizeBox@16 +DrawScrollBar@16 +SizeBoxHwnd@4 +ScrollBar_MouseMove@12 +ScrollBar_Menu@16 +HandleScrollCmd@12 +DetachScrollBars@4 +AttachScrollBars@4 +CCSetScrollInfo@16 +CCGetScrollInfo@12 +CCEnableScrollBar@12 Str_SetPtrW@8 +DSA_Create@8 +DSA_Destroy@4 +DSA_GetItem@12 +DSA_GetItemPtr@8 +DSA_InsertItem@12 +DSA_SetItem@12 +DSA_DeleteItem@8 +DSA_DeleteAllItems@4 +DPA_Create@4 +DPA_Destroy@4 +DPA_Grow@8 +DPA_Clone@8 +DPA_GetPtr@8 +DPA_GetPtrIndex@8 +DPA_InsertPtr@12 +DPA_SetPtr@12 +DPA_DeletePtr@8 +DPA_DeleteAllPtrs@4 +DPA_Sort@12 +DPA_Search@24 +DPA_CreateEx@8 +DSA_Clone@4 TaskDialog@32 TaskDialogIndirect@16 +DSA_Sort@12 +DPA_GetSize@4 +DSA_GetSize@4 +LoadIconMetric@16 +LoadIconWithScaleDown@20 +DPA_EnumCallback@12 +DPA_DestroyCallback@12 +DSA_EnumCallback@12 +DSA_DestroyCallback@12 +QuerySystemGestureStatus@16 +CreateMRUListW@4 +AddMRUStringW@8 +EnumMRUListW@16 +SetWindowSubclass@16 +GetWindowSubclass@16 +RemoveWindowSubclass@12 +DefSubclassProc@16 -- 2.37.3
_______________________________________________ Mingw-w64-public mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/mingw-w64-public
