bug 352424. Default Application on Vista not working. r=rob_strong

This commit is contained in:
dougt@meer.net
2006-09-22 14:45:57 +00:00
parent 15f3bc0d9e
commit 20d5a19da4
2 changed files with 134 additions and 5 deletions

View File

@@ -43,6 +43,7 @@
#include "nsIWindowsShellService.h"
#include <windows.h>
#include <ole2.h>
class nsWindowsShellService : public nsIWindowsShellService
{
@@ -55,6 +56,10 @@ public:
NS_DECL_NSIWINDOWSSHELLSERVICE
protected:
PRBool IsDefaultBrowserVista(PRBool aStartupCheck, PRBool* aIsDefaultBrowser);
PRBool SetDefaultBrowserVista();
PRBool RestoreFileSettingsVista();
PRBool GetMailAccountKey(HKEY* aResult);
void SetRegKey(const char* aKeyName, const char* aValueName,
const char* aValue, PRBool aBackup, HKEY aBackupKey,