nsIFile *aPath, const char *registryLocation, const char *componentType)
nsIFile *aPath, const char *registryLocation, const char *componentType, const nsModuleComponentInfo *info)
static NS_METHOD nsAccessProxyRegistrationProc(nsIComponentManager *aCompMgr,  nsIFile *aPath, const char *registryLocation, const char *componentType){  // This function performs the extra step of installing us as  // an application component. This makes sure that we're  // initialized on application startup.  // get the registry  nsIRegistry* registry;  nsresult rv = nsServiceManager::GetService(NS_REGISTRY_CONTRACTID,    NS_GET_IID(nsIRegistry), (nsISupports**)&registry);  if (NS_SUCCEEDED(rv)) {    registry->OpenWellKnownRegistry(nsIRegistry::ApplicationComponentRegistry);    char buffer[256];    char *cid = nsAccessProxy::GetCID().ToString();    PR_snprintf(buffer, sizeof buffer, "%s/%s", NS_IAPPSHELLCOMPONENT_KEY,      cid ? cid : "unknown" );    nsCRT::free(cid);    nsRegistryKey key;    rv = registry->AddSubtree(nsIRegistry::Common, buffer, &key);    nsServiceManager::ReleaseService(NS_REGISTRY_CONTRACTID, registry);  }  return rv;}