From 97be8d027b56806e8263f2040b9484f73f551f80 Mon Sep 17 00:00:00 2001 From: Marcus Meissner Date: Sat, 13 Sep 2014 00:54:00 +0200 Subject: [PATCH] shell32: Added stub for SHEnumerateUnreadMailAccountsW. --- dlls/shell32/shell32.spec | 1 + dlls/shell32/shell32_main.c | 9 +++++++++ include/shellapi.h | 4 ++++ 3 files changed, 14 insertions(+) diff --git a/dlls/shell32/shell32.spec b/dlls/shell32/shell32.spec index a85b45d54a1..f219c8f5c73 100644 --- a/dlls/shell32/shell32.spec +++ b/dlls/shell32/shell32.spec @@ -348,6 +348,7 @@ @ stdcall SHCreateShellItemArrayFromIDLists(long ptr ptr) @ stdcall SHEmptyRecycleBinA(long str long) @ stdcall SHEmptyRecycleBinW(long wstr long) +@ stdcall SHEnumerateUnreadMailAccountsW(ptr long ptr long) @ stdcall SHExtractIconsW(wstr long long long ptr ptr long long) user32.PrivateExtractIconsW @ stdcall SHFileOperation(ptr) SHFileOperationA @ stdcall SHFileOperationA(ptr) diff --git a/dlls/shell32/shell32_main.c b/dlls/shell32/shell32_main.c index 3bf442e2032..cabf5e4cde9 100644 --- a/dlls/shell32/shell32_main.c +++ b/dlls/shell32/shell32_main.c @@ -1385,3 +1385,12 @@ HRESULT WINAPI SHSetUnreadMailCountW(LPCWSTR mailaddress, DWORD count, LPCWSTR e FIXME("%s %x %s: stub\n", debugstr_w(mailaddress), count, debugstr_w(executecommand)); return E_NOTIMPL; } + +/*********************************************************************** + * SHEnumerateUnreadMailAccountsW (SHELL32.@) + */ +HRESULT WINAPI SHEnumerateUnreadMailAccountsW(HKEY user, DWORD idx, LPWSTR mailaddress, INT mailaddresslen) +{ + FIXME("%p %d %p %d: stub\n", user, idx, mailaddress, mailaddresslen); + return E_NOTIMPL; +} diff --git a/include/shellapi.h b/include/shellapi.h index acc345d5852..ecf0b21af52 100644 --- a/include/shellapi.h +++ b/include/shellapi.h @@ -649,6 +649,10 @@ DWORD WINAPI DoEnvironmentSubstA(LPSTR, UINT); DWORD WINAPI DoEnvironmentSubstW(LPWSTR, UINT); #define DoEnvironmentSubst WINELIB_NAME_AW(DoEnvironmentSubst) +HRESULT WINAPI SHEnumerateUnreadMailAccountsA(HKEY,DWORD,LPSTR,INT); +HRESULT WINAPI SHEnumerateUnreadMailAccountsW(HKEY,DWORD,LPWSTR,INT); +#define SHEnumerateUnreadMailAccounts WINELIB_NAME_AW(SHEnumerateUnreadMailAccounts) + #ifdef __cplusplus } /* extern "C" */