Return 'true' for FAT and FAT32, so we can adjust the maximum supported file size to 4 GB for these file systems.
| 176 | // Return 'true' for FAT and FAT32, so we can adjust the maximum supported |
| 177 | // file size to 4 GB for these file systems. |
| 178 | bool IsFAT(const wchar *Name) |
| 179 | { |
| 180 | wchar Root[NM]; |
| 181 | GetPathRoot(Name,Root,ASIZE(Root)); |
| 182 | wchar FileSystem[MAX_PATH+1]; |
| 183 | if (GetVolumeInformation(Root,NULL,0,NULL,NULL,NULL,FileSystem,ASIZE(FileSystem))) |
| 184 | return wcscmp(FileSystem,L"FAT")==0 || wcscmp(FileSystem,L"FAT32")==0; |
| 185 | return false; |
| 186 | } |
| 187 | #endif |
| 188 | |
| 189 |
no test coverage detected