nsCOMTypeInfo<nsIPref>::GetIID(), (nsISupports**)&m_prefs, this);
NS_GET_IID(nsIPref), (nsISupports**)&m_prefs);
nsMsgAccountManager::getPrefService(){  // get the prefs service  nsresult rv = NS_OK;    if (!m_prefs)    rv = nsServiceManager::GetService(kPrefServiceCID,                                      nsCOMTypeInfo<nsIPref>::GetIID(),                                      (nsISupports**)&m_prefs,                                      this);  if (NS_FAILED(rv)) return rv;  /* m_prefs is good now */  return NS_OK;}