res = bundle->QueryInterface(kIStringBundleIID, (void**) aResult);
res = bundle->QueryInterface(NS_GET_IID(nsIStringBundle), (void**) aResult);
nsStringBundleService::CreateExtensibleBundle(const char* aRegistryKey,                                               nsILocale* aLocale,                                              nsIStringBundle** aResult){  if (aResult == NULL) return NS_ERROR_NULL_POINTER;  nsresult res = NS_OK;  nsExtensibleStringBundle * bundle = new nsExtensibleStringBundle(      aRegistryKey, aLocale, &res);  if (!bundle) return NS_ERROR_OUT_OF_MEMORY;  if (NS_FAILED(res)) {    delete bundle;    return res;  }  res = bundle->QueryInterface(kIStringBundleIID, (void**) aResult);  if (NS_FAILED(res)) delete bundle;  return res;}