nsIGenericFactory::GetIID(),
NS_GET_IID(nsIGenericFactory),
nsresult NS_NewDocLoaderServiceFactory(nsIFactory** aResult){  nsresult rv = NS_OK;  nsIGenericFactory* factory;  rv = nsComponentManager::CreateInstance(kGenericFactoryCID, nsnull,                                           nsIGenericFactory::GetIID(),                                          (void**)&factory);  if (NS_FAILED(rv)) return rv;  rv = factory->SetConstructor(nsDocLoaderImpl::Create);  if (NS_FAILED(rv)) {      NS_RELEASE(factory);      return rv;  }  *aResult = factory;  return rv;}