deps/unrar/filefn.cpp
// Return 'true' for FAT and FAT32, so we can adjust the maximum supported
// file size to 4 GB for these file systems.
Return 'true' for FAT and FAT32, so we can adjust the maximum supported
file size to 4 GB for these file systems.
Return ' true ' for FAT and FAT32 so we can adjust the maximum supported file size to 4 GB for these file systems .
bool IsFAT(const wchar *Name)
{
  wchar Root[NM];
  GetPathRoot(Name,Root,ASIZE(Root));
  wchar FileSystem[MAX_PATH+1];
  if (GetVolumeInformation(Root,NULL,0,NULL,NULL,NULL,FileSystem,ASIZE(FileSystem)))
    return wcscmp(FileSystem,L"FAT")==0 || wcscmp(FileSystem,L"FAT32")==0;
  return false;
}
bool IsFAT ( const wchar * Name ) { wchar Root [ NM ] ; GetPathRoot ( Name , Root , ASIZE ( Root ) ) ; wchar FileSystem [ MAX_PATH + 1 ] ; if ( GetVolumeInformation ( Root , NULL , 0 , NULL , NULL , NULL , FileSystem , ASIZE ( FileSystem ) ) ) return wcscmp ( FileSystem , L" " ) == 0 || wcscmp ( FileSystem , L" " ) == 0 ; return false ; }
Return 'true' for FAT and FAT32, so we can adjust the maximum supported
file size to 4 GB for these file systems.
Return ' true ' for FAT and FAT32 so we can adjust the maximum supported file size to 4 GB for these file systems .