You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
From dokan-dev/dokan-rust#5 (comment) , we should have DokanGetMountPointList return a non NULL value for empty result to diff whether the function failed or not.
The text was updated successfully, but these errors were encountered:
I was thinking: if the value is non-null, DokanReleaseMountPointList must be called at some point. Therefore this function must recognize the magic value, and do nothing in this case. I believe this function isn't called so often, so performance overload is okay... but it just feels less classy.
Maybe a good old BOOL DOKANAPI DokanGetMountPointList(BOOL uncOnly, PDOKAN_MOUNT_POINT_INFO *outList, PULONG nbRead); would do the job and keep DokanReleaseMountPointList untouched, but this is kind of a breaking change.
From dokan-dev/dokan-rust#5 (comment) , we should have
DokanGetMountPointList
return a nonNULL
value for empty result to diff whether the function failed or not.The text was updated successfully, but these errors were encountered: