mirror of
https://github.com/winfsp/winfsp.git
synced 2025-04-22 08:23:05 -05:00
inc: winfsp.hpp: Fsp::FileSystem::Mount
This commit is contained in:
parent
00d1a3176e
commit
87c5f19ce1
@ -160,6 +160,7 @@ public:
|
||||
MountPoint);
|
||||
}
|
||||
NTSTATUS Mount(PWSTR MountPoint,
|
||||
PSECURITY_DESCRIPTOR SecurityDescriptor = 0,
|
||||
BOOLEAN Synchronized = FALSE,
|
||||
UINT32 DebugLog = 0)
|
||||
{
|
||||
@ -169,7 +170,7 @@ public:
|
||||
&_VolumeParams, Interface(), &_FileSystem);
|
||||
if (NT_SUCCESS(Result))
|
||||
{
|
||||
Result = FspFileSystemSetMountPoint(_FileSystem, MountPoint);
|
||||
Result = FspFileSystemSetMountPointEx(_FileSystem, MountPoint, SecurityDescriptor);
|
||||
if (NT_SUCCESS(Result))
|
||||
Result = FspFileSystemStartDispatcher(_FileSystem, 0);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user