forked from dokan-dev/dokany
-
Notifications
You must be signed in to change notification settings - Fork 0
Update dokan legacy application to Dokany
Liryna edited this page Jan 6, 2016
·
4 revisions
To move your dokan legacy application to Dokany >= 0.8.0:
- Change win32 errors to NTSTATUS. (More info and help here)
- Remove the KeepAlive option that no longer exist.
- Add Mounted & Unmouted DokanOperation
- Use new CreateFile -> ZwCreateFile - To get CreateFile Parameters from ZwCreateFile, you simply need to call
DokanMapKernelToUserCreateFileFlags
like this:
DokanMapKernelToUserCreateFileFlags(
FileAttributes, CreateOptions, CreateDisposition, &fileAttributesAndFlags,
&creationDisposition);
Dokany 0.7.4 is the last version compatible with Dokan legacy. The 0.7.4 have a lots of fix that make it more stable than Dokan 0.6.0. You can use it if you don't want to update your code but Dokany does not maintain this version anymore..
Dokan
Project Home | Wiki | Releases | Issues