Function dokany_sys::DokanCreateFileSystem
source · pub unsafe extern "stdcall" fn DokanCreateFileSystem(
DokanOptions: PDOKAN_OPTIONS,
DokanOperations: PDOKAN_OPERATIONS,
DokanInstance: *mut DOKAN_HANDLE
) -> DokanMainResult
Expand description
Mount a new Dokan Volume.
It is mandatory to have called \ref DokanInit previously to use this API.
This function returns directly on device mount or on failure.
See DokanMainResult
for possible errors.
DokanWaitForFileSystemClosed
can be used to wait until the device is unmount.
Arguments
DokanOptions
: a DOKAN_OPTIONS that describe the mount.
DokanOperations
: Instance of DOKAN_OPERATIONS that will be called for each request made by the kernel.
DokanInstance
: Dokan mount instance context that can be used for related instance calls like DokanIsFileSystemRunning
.
Returns
DokanMainResult
status.