rv = compMgr->UnregisterComponent(kAddressBookDB, path); if (NS_FAILED(rv)) finalResult = rv;
NSUnregisterSelf(nsISupports* aServMgr, const char* path){	nsresult rv = NS_OK;	nsresult finalResult = NS_OK;	nsCOMPtr<nsIServiceManager> servMgr(do_QueryInterface(aServMgr, &rv));	if (NS_FAILED(rv)) return rv;	NS_WITH_SERVICE1(nsIComponentManager, compMgr, aServMgr, kComponentManagerCID, &rv);	if (NS_FAILED(rv)) return rv;	rv = compMgr->UnregisterComponent(kAbDirectoryDataSourceCID, path);	if (NS_FAILED(rv)) finalResult = rv;	rv = compMgr->UnregisterComponent(kAbDirectoryCID, path);	if (NS_FAILED(rv)) finalResult = rv;	rv = compMgr->UnregisterComponent(kAbCardDataSourceCID, path);	if (NS_FAILED(rv)) finalResult = rv;	rv = compMgr->UnregisterComponent(kAbCardCID, path);	if (NS_FAILED(rv)) finalResult = rv;		return finalResult;}