Announcement

Collapse
No announcement yet.

GetVolumeInformation - List of detectable file systems?

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • GetVolumeInformation - List of detectable file systems?

    Does anyone have a list of all the possible file system types from the GetVolumeInformation API?

    I found many links to list of different file systems on Google, but I'm just looking for file systems detected by Windows' GetVolumeInformation.

    Here's what I have found so far from my testing:

    FAT
    FAT32
    NTFS
    HPFS
    CDFS
    UDF
    NWFS

    If you know any others, let me know. Created a short PBCC program to check drives on a local system.

    Code:
    #COMPILE EXE
    #INCLUDE "WIN32API.INC"
    
    FUNCTION PBMAIN () AS LONG
    
    DIM lpDrive AS ASCIIZ * 4, lResult AS LONG, FileSysBuffer AS ASCIIZ * 255, Drive AS LONG
    
    FOR Drive = 65 TO 90  'A to Z
      lpDrive = CHR$(Drive) + ":\"
      lResult = GetVolumeInformation (lpDrive, "", 0, 0, 0, 0, FilesysBuffer, SIZEOF(FilesysBuffer))
      IF FilesysBuffer <> "" THEN
        STDOUT lpDrive + " = " + FilesysBuffer
        FilesysBuffer = ""
      END IF
    NEXT Drive
    
    STDOUT "Press a key to exit.";
    WAITKEY$
    
    END FUNCTION
    My Free Apps: Ventural.com

Working...
X