From 42c4c870af910c783f858bf16694632c9e32b197 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 | 1 + 3 files changed, 11 insertions(+) diff --git a/dlls/comctl32/comctl32.spec b/dlls/comctl32/comctl32.spec index 0dff3694fe4..0bd8b13e174 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 4f4e2b18be7..e18c27d5d45 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 9993ec7ef2b..0bcaeb68063 100644 --- a/include/commctrl.h +++ b/include/commctrl.h @@ -42,6 +42,7 @@ BOOL WINAPI InitCommonControlsEx (const INITCOMMONCONTROLSEX*); LANGID WINAPI GetMUILanguage (VOID); VOID WINAPI InitMUILanguage (LANGID uiLang); +HRESULT WINAPI LoadIconWithScaleDown(HINSTANCE, PCWSTR, int, int, HICON *); #define COMCTL32_VERSION 5 /* dll version */ -- 2.11.4.GIT