Windows 3.1 Device Drivers (ddag31qh.hlp) (Table of Contents; Topic list)
Important Notice
The pages on this site contain documentation for very old MS-DOS software, purely for historical purposes. If you're looking for up-to-date documentation, particularly for programming, you should not rely on the information found here, as it will be woefully out of date.
LFNVolumeType
                                                     Up Next Previous
────────────────────────────────────────────────────────────────────────────
 
WORD LFNVolumeType(iDrive, lpwType)
WORD iDrive;
LPINT lpwType;
 
The LFNVolumeType function specifies whether a given volume supports MS-DOS
standard filenaming conventions or long filenames.
 
Parameter  Description
────────────────────────────────────────────────────────────────────────────
 
iDrive     Specifies a one-based drive number. The parameter is 1 for drive
           A, 2 for drive B, and so on.
 
lpwType    Points to a 16-bit variable that receives the volume type. The
           type can be one of the following values.
 
           Value             Meaning
           ─────────────────────────────────────────────────────────────────
           VOLUME_STANDARD   MS-DOS standard filenaming conventions volume.
                             8 characters for the filename, and 3 for the
                             extension.
 
           VOLUME_LONGNAMES  Long-filename volumes.
 
Return Value
 
The return value is zero if successful. Otherwise, it returns a nonzero
value.
 
Comments
 
The export ordinal for this function is 113.
 
                                      ♦