nsIShellService
Last changed in Gecko 2.0 (Firefox 4 / Thunderbird 3.3 / SeaMonkey 2.1)string getRegistryEntry(in long aHKeyConstant, in string aSubKeyName, in string aValueName); Obsolete since Gecko 1.8 |
void restoreFileSettings(in boolean aForAllUsers); Obsolete since Gecko 1.9 |
void shortcutMaintenance(); |
Attribute | Type | Description |
desktopBackgroundColor | unsigned long | The desktop background color, visible when no background image is used, or if the background image is centered and does not fill the entire screen. A rgb value, where (r << 24 | g << 16 | b) Obsolete since Gecko 1.8 |
unreadMailCount | unsigned long | The number of unread mail messages for the current user. Read only. |
Valid starting keys for the Windows Registry.
Constant | Value | Description |
HKCR | 0 | HKEY_CLASSES_ROOT. Obsolete since Gecko 1.8 |
HKCC | 1 | HKEY_CURRENT_CONFIG. Obsolete since Gecko 1.8 |
HKCU | 2 | HKEY_CURRENT_USER. Obsolete since Gecko 1.8 |
HKLM | 3 | HKEY_LOCAL_MACHINE. Obsolete since Gecko 1.8 |
HKU | 4 | HKEY_USERS. Obsolete since Gecko 1.8 |
Retrieves a Windows Registry entry value.
string getRegistryEntry( in long aHKeyConstant, in string aSubKeyName, in string aValueName );
aHKeyConstant
aSubKeyName
aValueName
The value of the specified sub key/value, truncated to 4096 bytes.
Restores system settings to what they were before Firefox modified them.
void restoreFileSettings( in boolean aForAllUsers );
aForAllUsers
Provides the shell service an opportunity to do some Win7+ shortcut maintenance needed on initial startup of the browser.
void shortcutMaintenance();
None.