| 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.
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. |
The return value is zero if successful. Otherwise, it returns a nonzero value.
The export ordinal for this function is 113.