Module: wine Branch: master Commit: 42c4c870af910c783f858bf16694632c9e32b197 URL: http://source.winehq.org/git/wine.git/?a=commit;h=42c4c870af910c783f858bf166...
Author: Austin English austinenglish@gmail.com Date: Sat Dec 13 19:06:30 2014 -0600
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 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..0bcaeb6 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 */