Function winfsp_sys::FspFileSystemSetMountPoint
source · pub unsafe extern "C" fn FspFileSystemSetMountPoint(
FileSystem: *mut FSP_FILE_SYSTEM,
MountPoint: PWSTR
) -> NTSTATUS
Expand description
Set the mount point for a file system.
This function supports drive letters (X:) or directories as mount points:
- Drive letters: Refer to the documentation of the DefineDosDevice Windows API to better understand how they are created.
- Directories: They can be used as mount points for disk based file systems. They cannot be used for network file systems. This is a limitation that Windows imposes on junctions.
@param FileSystem The file system object. @param MountPoint The mount point for the new file system. A value of NULL means that the file system should use the next available drive letter counting downwards from Z: as its mount point. @return STATUS_SUCCESS or error code.