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