Marcus Meissner : shell32: Added stub for SHEnumerateUnreadMailAccountsW.

Alexandre Julliard julliard at wine.codeweavers.com
Mon Sep 15 13:36:22 CDT 2014


Module: wine
Branch: master
Commit: 97be8d027b56806e8263f2040b9484f73f551f80
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=97be8d027b56806e8263f2040b9484f73f551f80

Author: Marcus Meissner <marcus at jet.franken.de>
Date:   Sat Sep 13 00:54:00 2014 +0200

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 a85b45d..f219c8f 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 3bf442e..cabf5e4 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 acc345d..ecf0b21 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" */




More information about the wine-cvs mailing list