@mozilla.org/registry;1

This component implements the following interfaces:

Constants

PRInt32 nsIRegistry.None = 0
PRInt32 nsIRegistry.Users = 1
PRInt32 nsIRegistry.Common = 2
PRInt32 nsIRegistry.CurrentUser = 3
PRInt32 nsIRegistry.ApplicationComponentRegistry = 1
PRInt32 nsIRegistry.ApplicationRegistry = 2
PRInt32 nsIRegistry.ApplicationCustomRegistry = -1
PRUint32 nsIRegistry.String = 1
PRUint32 nsIRegistry.Int32 = 2
PRUint32 nsIRegistry.Bytes = 3
PRUint32 nsIRegistry.File = 4

Properties

char* nsIRegistry.currentUserName

Methods

InterfaceMethod
nsIRegistry nsRegistryKey addKey ( nsRegistryKey baseKey , PRUnichar* keyname )
nsIRegistry nsRegistryKey addSubtree ( nsRegistryKey baseKey , char* path )
nsIRegistry nsRegistryKey addSubtreeRaw ( nsRegistryKey baseKey , char* path )
nsIRegistry void deleteValue ( nsRegistryKey baseKey , char* path )
nsIRegistry nsIEnumerator enumerateAllSubtrees ( nsRegistryKey baseKey )
nsIRegistry nsIEnumerator enumerateSubtrees ( nsRegistryKey baseKey )
nsIRegistry nsIEnumerator enumerateValues ( nsRegistryKey baseKey )
nsIRegistry void escapeKey ( arrayof PRUint8 key , PRUint32 terminator , inout PRUint32 length , out arrayof PRUint8 escaped )
nsIRegistry void flush ( )
nsIRegistry void getBytesUTF8 ( nsRegistryKey baseKey , char* path , out PRUint32 length , out arrayof PRUint8 valueArray )
nsIRegistry PRInt32 getInt ( nsRegistryKey baseKey , char* path )
nsIRegistry nsRegistryKey getKey ( nsRegistryKey baseKey , PRUnichar* keyname )
nsIRegistry PRInt64 getLongLong ( nsRegistryKey baseKey , char* path )
nsIRegistry PRUnichar* getString ( nsRegistryKey baseKey , PRUnichar* valname )
nsIRegistry char* getStringUTF8 ( nsRegistryKey baseKey , char* path )
nsIRegistry nsRegistryKey getSubtree ( nsRegistryKey baseKey , char* path )
nsIRegistry nsRegistryKey getSubtreeRaw ( nsRegistryKey baseKey , char* path )
nsIRegistry PRUint32 getValueLength ( nsRegistryKey baseKey , char* path )
nsIRegistry PRUint32 getValueType ( nsRegistryKey baseKey , char* path )
nsIRegistry PRBool isOpen ( )
nsIRegistry void open ( nsIFile regFile )
nsIRegistry void openWellKnownRegistry ( nsWellKnownRegistry regid )
nsIRegistry void pack ( )
nsIRegistry void removeKey ( nsRegistryKey baseKey , PRUnichar* keyname )
nsIRegistry void removeSubtree ( nsRegistryKey baseKey , char* path )
nsIRegistry void removeSubtreeRaw ( nsRegistryKey baseKey , char* path )
nsIRegistry void setBytesUTF8 ( nsRegistryKey baseKey , char* path , PRUint32 length , arrayof PRUint8 valueArray )
nsIRegistry void setInt ( nsRegistryKey baseKey , char* path , PRInt32 value )
nsIRegistry void setLongLong ( nsRegistryKey baseKey , char* path , inout PRInt64 value )
nsIRegistry void setString ( nsRegistryKey baseKey , PRUnichar* valname , PRUnichar* value )
nsIRegistry void setStringUTF8 ( nsRegistryKey baseKey , char* path , char* value )
nsIRegistry void unescapeKey ( arrayof PRUint8 escaped , PRUint32 terminator , inout PRUint32 length , out arrayof PRUint8 key )

Reference documentation is generated from Mozilla's source.

Add a note User Contributed Notes
No comments available

Copyright © 1999 - 2005 XULPlanet.com