Function dokany_sys::DokanMain

source ·
pub unsafe extern "stdcall" fn DokanMain(
    DokanOptions: PDOKAN_OPTIONS,
    DokanOperations: PDOKAN_OPERATIONS
) -> DokanMainResult
Expand description

Mount a new Dokan Volume.

This function block until the device is unmounted. If the mount fails, it will directly return a \ref DokanMainResult error.

See DokanCreateFileSystem to create mount Dokan Volume asynchronously.

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.

Returns

DokanMainResult status.