dokany
dokany copied to clipboard
Add Short file name (= alternate file name, DOS 8.3...)
Short file name is not supported on Dokan today. This should be done here and here. Then user-mode callback structure should be extended to allow user-mode file system to define this value (this shouldn't be handled by the driver with RtlGenerate8dot3Name). Maybe a new
#define DOKAN_OPTION_SHORTNAME 512 // short name is supported
should also be added. It will be the user-mode driver responsibility to resolve short file name on IRP_MJ_CREATE.
fsutil 8dot3name query E:
(where E: is your dokan drive) should also return correct stat.
FindFiles needs to account for both names as well.