lfm->GetFSSpec(outSpec);
static OSErr toFSSpec(nsIFile* file, FSSpec& outSpec){    nsCOMPtr<nsILocalFileMac> lfm = do_QueryInterface(file);    if (!lfm)        return -1;    lfm->GetFSSpec(outSpec);    return NS_OK;}