nsresult rv = aCompMgr->UnregisterComponentSpec(*cp->mCID, aPath);
nsresult rv = aCompMgr->UnregisterComponentSpec(cp->info.mCID, aPath);
nsUConvModule::UnregisterSelf(nsIComponentManager *aCompMgr,                             nsIFile* aPath,                             const char* registryLocation){#ifdef DEBUG  printf("*** Unregistering uconv components\n");#endif  Components* cp = gComponents;  Components* end = cp + NUM_COMPONENTS;  while (cp < end) {    nsresult rv = aCompMgr->UnregisterComponentSpec(*cp->mCID, aPath);    if (NS_FAILED(rv)) {#ifdef DEBUG      printf("nsUConvModule: unable to unregister %s component => %x\n",             cp->mDescription, rv);#endif    }    cp++;  }  return NS_OK;}