[ros-diffs] [fireball] 43971: [shell32] Gabriel Ilardi - Properly stub SHSetUnreadMailCountW and SHGetUnreadMailCountW to unregress Thunderbird and possibly other email clients. See issue #4940 for more details.

fireball at svn.reactos.org fireball at svn.reactos.org
Thu Nov 5 11:07:16 CET 2009


Author: fireball
Date: Thu Nov  5 11:07:16 2009
New Revision: 43971

URL: http://svn.reactos.org/svn/reactos?rev=43971&view=rev
Log:
[shell32]
Gabriel Ilardi
- Properly stub SHSetUnreadMailCountW and SHGetUnreadMailCountW to unregress Thunderbird and possibly other email clients.
See issue #4940 for more details.

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

Modified: trunk/reactos/dll/win32/shell32/shell32.spec
URL: http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/shell32/shell32.spec?rev=43971&r1=43970&r2=43971&view=diff
==============================================================================
--- trunk/reactos/dll/win32/shell32/shell32.spec [iso-8859-1] (original)
+++ trunk/reactos/dll/win32/shell32/shell32.spec [iso-8859-1] Thu Nov  5 11:07:16 2009
@@ -316,7 +316,7 @@
 316 stdcall SHGetSpecialFolderLocation(long long ptr)
 317 stdcall SHGetSpecialFolderPathA(long ptr long long)
 318 stdcall SHGetSpecialFolderPathW(long ptr long long)
-319 stub SHGetUnreadMailCountW
+319 stdcall SHGetUnreadMailCountW (long wstr long ptr wstr long)
 320 stdcall SHHelpShortcuts_RunDLL(long long long long) SHHelpShortcuts_RunDLLA
 321 stdcall SHHelpShortcuts_RunDLLA(long long long long)
 322 stdcall SHHelpShortcuts_RunDLLW(long long long long)
@@ -332,7 +332,7 @@
 332 stdcall SHQueryRecycleBinA(str ptr)
 333 stdcall SHQueryRecycleBinW(wstr ptr)
 334 stdcall SHSetLocalizedName(wstr wstr long)
-335 stub SHSetUnreadMailCountW
+335 stdcall SHSetUnreadMailCountW (wstr long wstr)
 336 stdcall SHUpdateRecycleBinIcon()
 337 stdcall SheChangeDirA(str)
 338 stdcall SheChangeDirExA(str)

Modified: trunk/reactos/dll/win32/shell32/stubs.c
URL: http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/shell32/stubs.c?rev=43971&r1=43970&r2=43971&view=diff
==============================================================================
--- trunk/reactos/dll/win32/shell32/stubs.c [iso-8859-1] (original)
+++ trunk/reactos/dll/win32/shell32/stubs.c [iso-8859-1] Thu Nov  5 11:07:16 2009
@@ -128,6 +128,32 @@
                          LPVOID lpUnknown2)
 {
     FIXME("SHCreateFileExtractIconW() stub\n");
+    return E_FAIL;
+}
+
+HRESULT
+WINAPI
+SHGetUnreadMailCountW(HKEY hKeyUser,
+                      LPCWSTR pszMailAddress,
+                      DWORD *pdwCount,
+                      FILETIME *pFileTime,
+                      LPCWSTR pszShellExecuteCommand,
+                      int cchShellExecuteCommand)
+{
+    FIXME("SHGetUnreadMailCountW() stub\n");
+    return E_FAIL;
+};
+
+/*
+ * Unimplemented
+ */
+HRESULT
+WINAPI
+SHSetUnreadMailCountW(LPCWSTR pszMailAddress,
+                      DWORD dwCount,
+                      LPCWSTR pszShellExecuteCommand)
+{
+    FIXME("SHSetUnreadMailCountW() stub\n");
     return E_FAIL;
 }
 




More information about the Ros-diffs mailing list