kIPersistentPropertiesIID, (void**) &mProps);
NS_GET_IID(nsIPersistentProperties), (void**) &mProps);
nsStringBundle::nsStringBundle(const char* aURLSpec, nsILocale* aLocale, nsresult* aResult){  NS_INIT_REFCNT();  mProps = nsnull;  nsIInputStream *in = nsnull;  *aResult = GetInputStream(aURLSpec,aLocale, in);     if (!in) {#ifdef NS_DEBUG    if ( NS_OK == *aResult)      printf("OpenBlockingStream returned success value, but pointer is NULL\n");#endif    *aResult = NS_ERROR_UNEXPECTED;    return;  }  *aResult = nsComponentManager::CreateInstance(kPersistentPropertiesCID, NULL,                                                kIPersistentPropertiesIID, (void**) &mProps);  if (NS_FAILED(*aResult)) {#ifdef NS_DEBUG    printf("create nsIPersistentProperties failed\n");#endif    return;  }  *aResult = mProps->Load(in);  NS_RELEASE(in);}