dokan-dev / dokany

User mode file system library for windows with FUSE Wrapper
http://dokan-dev.github.io
5.21k stars 661 forks source link

Missing projection for DokanNtStatusFromWin32 #1041

Closed d2dyno1 closed 2 years ago

d2dyno1 commented 2 years ago

It would be very helpful if DokanNet provided DokanNtStatusFromWin32() out of the box. This helper function is unfortunately missing in DokanNet.

Liryna commented 2 years ago

@d2dyno1 Hi, It was made on purpose to not directly include the function in dokannet to keep the wrapper as pure C# as possible. That's why DokanResult was created to abstract the NtStatus values. That said, you can still import the function with a dllimport directly in your code for your own usage.