Lines Matching refs:nsresult
68 extern NS_COM nsresult
76 static nsresult Initialize(void);
79 static nsresult FindFactory(const nsCID &aClass,
83 static nsresult GetClassObject(const nsCID &aClass, const nsIID &aIID,
87 static nsresult ContractIDToClassID(const char *aContractID,
92 static nsresult CLSIDToContractID(nsCID *aClass,
97 static nsresult CreateInstance(const nsCID &aClass,
103 static nsresult CreateInstance(const char *aContractID,
109 static nsresult RegisterFactory(const nsCID &aClass,
122 static nsresult RegisterComponent(const nsCID &aClass,
131 static nsresult RegisterComponentSpec(const nsCID &aClass,
141 static nsresult RegisterComponentLib(const nsCID &aClass,
150 static nsresult UnregisterFactory(const nsCID &aClass,
154 static nsresult UnregisterComponent(const nsCID &aClass,
158 static nsresult UnregisterComponentSpec(const nsCID &aClass,
162 static nsresult FreeLibraries(void);
168 static nsresult AutoRegister(PRInt32 when, nsIFile* directory);
169 static nsresult AutoRegisterComponent(PRInt32 when, nsIFile *component);
170 static nsresult AutoUnregisterComponent(PRInt32 when, nsIFile *component);
173 static nsresult IsRegistered(const nsCID &aClass,
177 static nsresult EnumerateCLSIDs(nsIEnumerator** aEmumerator);
180 static nsresult EnumerateContractIDs(nsIEnumerator** aEmumerator);