inc: winfsp.hpp: Fsp::FileSystem::Mount

This commit is contained in:
Bill Zissimopoulos 2017-03-26 23:19:33 -07:00
parent 00d1a3176e
commit 87c5f19ce1

View File

@ -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);
}