Author: mjansen
Date: Thu May 11 20:20:47 2017
New Revision: 74521

URL: http://svn.reactos.org/svn/reactos?rev=74521&view=rev
Log:
[SHELL32] Add stub for SHEnumerateUnreadMailAccountsW, needed by Thunderbird. 
Found by Joachim Henze. CORE-13229

Modified:
    trunk/reactos/dll/win32/shell32/shell32.spec
    trunk/reactos/dll/win32/shell32/stubs.cpp

Modified: trunk/reactos/dll/win32/shell32/shell32.spec
URL: 
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/shell32/shell32.spec?rev=74521&r1=74520&r2=74521&view=diff
==============================================================================
--- trunk/reactos/dll/win32/shell32/shell32.spec        [iso-8859-1] (original)
+++ trunk/reactos/dll/win32/shell32/shell32.spec        [iso-8859-1] Thu May 11 
20:20:47 2017
@@ -283,7 +283,7 @@
 284 stdcall SHEmptyRecycleBinA(long str long)
 285 stdcall SHEmptyRecycleBinW(long wstr long)
 286 stub SHEnableServiceObject
-287 stub SHEnumerateUnreadMailAccountsW
+287 stdcall SHEnumerateUnreadMailAccountsW(ptr long ptr long)
 288 stdcall SHExtractIconsW(wstr long long long ptr ptr long long) 
user32.PrivateExtractIconsW
 289 stdcall SHFileOperation(ptr) SHFileOperationA
 290 stdcall SHFileOperationA(ptr)

Modified: trunk/reactos/dll/win32/shell32/stubs.cpp
URL: 
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/shell32/stubs.cpp?rev=74521&r1=74520&r2=74521&view=diff
==============================================================================
--- trunk/reactos/dll/win32/shell32/stubs.cpp   [iso-8859-1] (original)
+++ trunk/reactos/dll/win32/shell32/stubs.cpp   [iso-8859-1] Thu May 11 
20:20:47 2017
@@ -107,6 +107,21 @@
 {
     FIXME("SHSetUnreadMailCountW() stub\n");
     return E_FAIL;
+}
+
+/*
+ * Unimplemented
+ */
+EXTERN_C HRESULT
+WINAPI
+SHEnumerateUnreadMailAccountsW(HKEY user,
+                               DWORD idx,
+                               LPWSTR mailaddress,
+                               INT mailaddresslen)
+{
+    FIXME("SHEnumerateUnreadMailAccountsW(%p %d %p %d) stub\n",
+        user, idx, mailaddress, mailaddresslen);
+    return E_NOTIMPL;
 }
 
 /*


Reply via email to