From: Austin English Subject: comctl32: add a stub for LoadIconWithScaleDown Message-Id: Date: Sat, 13 Dec 2014 19:06:48 -0600 Fixes https://bugs.winehq.org/show_bug.cgi?id=37700 -- -Austin
Fixes https://bugs.winehq.org/show_bug.cgi?id=37700

--
-Austin
From 7f5d57292e4f38677723d0c051725c05310624c7 Mon Sep 17 00:00:00 2001 From: Austin English Date: Sat, 13 Dec 2014 19:06:30 -0600 Subject: [PATCH] comctl32: add a stub for LoadIconWithScaleDown --- dlls/comctl32/comctl32.spec | 1 + dlls/comctl32/commctrl.c | 9 +++++++++ include/commctrl.h | 2 ++ 3 files changed, 12 insertions(+) diff --git a/dlls/comctl32/comctl32.spec b/dlls/comctl32/comctl32.spec index 0dff369..0bd8b13 100644 --- a/dlls/comctl32/comctl32.spec +++ b/dlls/comctl32/comctl32.spec @@ -88,6 +88,7 @@ 375 stdcall -noname -private StrCSpnIW(wstr wstr) 376 stdcall -noname -private IntlStrEqWorkerA(long str str long) 377 stdcall -noname -private IntlStrEqWorkerW(long wstr wstr long) +381 stdcall -ordinal LoadIconWithScaleDown(ptr wstr long long ptr) 382 stdcall -noname SmoothScrollWindow(ptr) 383 stub -noname DoReaderMode 384 stdcall -noname SetPathWordBreakProc(ptr long) diff --git a/dlls/comctl32/commctrl.c b/dlls/comctl32/commctrl.c index 4f4e2b1..e18c27d 100644 --- a/dlls/comctl32/commctrl.c +++ b/dlls/comctl32/commctrl.c @@ -1637,3 +1637,12 @@ HRESULT WINAPI TaskDialogIndirect(const TASKDIALOGCONFIG *pTaskConfig, int *pnBu if (pfVerificationFlagChecked) *pfVerificationFlagChecked = TRUE; return S_OK; } + +/*********************************************************************** + * LoadIconWithScaleDown [COMCTL32.@] + */ +HRESULT WINAPI LoadIconWithScaleDown(HINSTANCE hinst, PCWSTR name, int cx, int cy, HICON *icon) +{ + FIXME("stub: %p %s %d %d %p\n", hinst, wine_dbgstr_w(name), cx, cy, icon); + return E_NOTIMPL; +} diff --git a/include/commctrl.h b/include/commctrl.h index 9993ec7..d5c7cca 100644 --- a/include/commctrl.h +++ b/include/commctrl.h @@ -5168,6 +5168,8 @@ HRESULT WINAPI TaskDialogIndirect(const TASKDIALOGCONFIG *, int *, int *, BOOL * #endif /* NOTASKDIALOG */ +HRESULT WINAPI LoadIconWithScaleDown(HINSTANCE, PCWSTR, int, int, HICON *); + #ifdef __cplusplus } #endif -- 2.1.0