[shell32]
authorAleksey Bragin <aleksey@reactos.org>
Thu, 5 Nov 2009 10:07:16 +0000 (10:07 +0000)
committerAleksey Bragin <aleksey@reactos.org>
Thu, 5 Nov 2009 10:07:16 +0000 (10:07 +0000)
Gabriel Ilardi
- Properly stub SHSetUnreadMailCountW and SHGetUnreadMailCountW to unregress Thunderbird and possibly other email clients.
See issue #4940 for more details.

svn path=/trunk/; revision=43971

reactos/dll/win32/shell32/shell32.spec
reactos/dll/win32/shell32/stubs.c

index 75fb65f..bb7e0d2 100644 (file)
 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 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)
index 2ac2887..0056a4f 100644 (file)
@@ -131,6 +131,32 @@ SHCreateFileExtractIconW(LPCWSTR pszPath,
     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;
+}
+
 /*
  * Unimplemented
  */