*(nsSpecialFileSpec*)outSpec = (nsSpecialFileSpec::Type)aType; return NS_OK;
*(nsSpecialFileSpec*)&spec = (nsSpecialFileSpec::Type)aType; return NS_SUCCEEDED(spec.Error()) ? NS_NewFileSpecWithSpec(spec, outSpec) : NS_ERROR_ILLEGAL_VALUE;
NS_IMETHODIMP nsFileLocator::GetFileLocation(      PRUint32 aType,      nsFileSpec* outSpec)//----------------------------------------------------------------------------------------{    if (!outSpec)        return NS_ERROR_NULL_POINTER;   if (aType < nsSpecialFileSpec::App_DirectoryBase)   {       *(nsSpecialSystemDirectory*)outSpec           = (nsSpecialSystemDirectory::SystemDirectories)aType;       return NS_OK;   }   *(nsSpecialFileSpec*)outSpec = (nsSpecialFileSpec::Type)aType;   return NS_OK;}