This is the patch generated by `git-format-patch(1)`.
Okay to apply to branch 'master'?
On 25.02.2017 4:54, JonY wrote:
> On 02/24/2017 02:15 PM, Ruslan Garipov wrote:
>> 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.
>>
>
> Please use format-patch or send-email to generate/send patches so that
> the patch includes the commit log. Remember to sign off the patch.
>
>
>
> ------------------------------------------------------------------------------
> 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
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/mingw-w64-public
>
--
Yours truly,
Ruslan Garipov <ruslanngaripov at gmail dot com>.
>From 723bef4de85bc777a9391ce9acc42ebb25d5fc62 Mon Sep 17 00:00:00 2001
From: Ruslan Garipov <[email protected]>
Date: Sat, 25 Feb 2017 11:25:33 +0500
Subject: [PATCH] comctl32.def: Add `LoadIconMetric`
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.
[1]:
https://msdn.microsoft.com/en-us/library/windows/desktop/bb775701(v=vs.85).aspx
"LoadIconMetric function"
Signed-off-by: Ruslan Garipov <[email protected]>
---
mingw-w64-crt/lib32/comctl32.def | 1 +
mingw-w64-crt/lib64/comctl32.def | 1 +
2 files changed, 2 insertions(+)
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
--
2.11.1
------------------------------------------------------------------------------
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
[email protected]
https://lists.sourceforge.net/lists/listinfo/mingw-w64-public