-
Couldn't load subscription status.
- Fork 690
Update Dokan legacy application to Dokany
Rondom edited this page Sep 22, 2016
·
1 revision
Moving your Dokan legacy application to Dokany >= 0.8.0:
- Change Win32 errors to NTSTATUS. You can use
DokanNtStatusFromWin32to translate Win32 Error codes to the corresponding NtStatus codes (More info and help here) - Remove the
KeepAliveoption that no longer exists. - Add
MountedandUnmountedDokanOperations - Use new
CreateFile->ZwCreateFile- To getCreateFileparameters fromZwCreateFile, you simply need to callDokanMapKernelToUserCreateFileFlagslike this:
DokanMapKernelToUserCreateFileFlags(
FileAttributes, CreateOptions, CreateDisposition, &fileAttributesAndFlags,
&creationDisposition);
Dokany 0.7.4 is the last version that is compatible with Dokan legacy. 0.7.4 has lots of fixes that make it more stable than Dokan 0.6.0. You can use it if you don't want to update your code but keep in mind that Dokany does not maintain this version anymore..
Dokan
Project Home | Wiki | Releases | Issues