Bug 360735 - replace 'A' APIs with 'W' APIs in windows shell service

p=Ryan Jones <sciguyryan@gmail.com>
r=rstrong
This commit is contained in:
2007-07-23 19:27:30 -07:00
parent 25b58a2282
commit ea9b1c3362
3 changed files with 287 additions and 244 deletions

View File

@@ -40,6 +40,7 @@
#define nswindowsshellservice_h____
#include "nscore.h"
#include "nsStringAPI.h"
#include "nsIWindowsShellService.h"
#include <windows.h>
@@ -60,10 +61,13 @@ protected:
PRBool SetDefaultBrowserVista();
PRBool GetMailAccountKey(HKEY* aResult);
void SetRegKey(const char* aKeyName, const char* aValueName,
const char* aValue, PRBool aHKLMOnly);
DWORD DeleteRegKey(HKEY baseKey, const char *keyName);
DWORD DeleteRegKeyDefaultValue(HKEY baseKey, const char *keyName);
void SetRegKey(const nsString& aKeyName,
const nsString& aValueName,
const nsString& aValue, PRBool aHKLMOnly);
DWORD DeleteRegKey(HKEY baseKey, const nsString& keyName);
DWORD DeleteRegKeyDefaultValue(HKEY baseKey,
const nsString& keyName);
private:
PRBool mCheckedThisSession;