How to get the File System Format
C / C++ / MFC
2
Posts
1
Posters
0
Views
1
Watching
-
How to get the file system? I wanna know if the file specified is in a hard disk with NTFS format.
Answer this by muself......I've just discovered the solution...... Use the Platform SDK function:
BOOL GetVolumeInformation( LPCTSTR lpRootPathName, LPTSTR lpVolumeNameBuffer, DWORD nVolumeNameSize, LPDWORD lpVolumeSerialNumber, LPDWORD lpMaximumComponentLength, LPDWORD lpFileSystemFlags, LPTSTR lpFileSystemNameBuffer, DWORD nFileSystemNameSize );
And check the resulting stringlpFileSystemNameBuffer
.