According to [MSDN] [1] 'comctl32.dll' exports function
`LoadIconMetric`, which is currently declared in mingw-w64's
'commctrl.h', but is missed in exporting declarations. This patch fixes
that.

Please review.

---
 mingw-w64-crt/lib32/comctl32.def | 1 +
 mingw-w64-crt/lib64/comctl32.def | 1 +
 2 files changed, 2 insertions(+)

[1]:
https://msdn.microsoft.com/en-us/library/windows/desktop/bb775701(v=vs.85).aspx
"LoadIconMetric function"
diff --git a/mingw-w64-crt/lib32/comctl32.def b/mingw-w64-crt/lib32/comctl32.def
index 5456a3b9..c7b8d6ff 100644
--- a/mingw-w64-crt/lib32/comctl32.def
+++ b/mingw-w64-crt/lib32/comctl32.def
@@ -99,6 +99,7 @@ InitCommonControls@0
 InitCommonControlsEx@4
 InitMUILanguage@4
 LBItemFromPt@16
+LoadIconMetric@16
 MakeDragList@4
 MenuHelp@28
 PropertySheet@4
diff --git a/mingw-w64-crt/lib64/comctl32.def b/mingw-w64-crt/lib64/comctl32.def
index 71991330..207caa68 100644
--- a/mingw-w64-crt/lib64/comctl32.def
+++ b/mingw-w64-crt/lib64/comctl32.def
@@ -84,6 +84,7 @@ ImageList_Write
 InitCommonControlsEx
 InitMUILanguage
 InitializeFlatSB
+LoadIconMetric
 PropertySheet
 PropertySheetA
 PropertySheetW
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, SlashDot.org! http://sdm.link/slashdot
_______________________________________________
Mingw-w64-public mailing list
Mingw-w64-public@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mingw-w64-public

Reply via email to