inc: fsctl: FSP_FSCTL_VOLUME_PARAMS changes:

- increase size of VolumePrefix
- add FileSystemName field (currently unused)
This commit is contained in:
Bill Zissimopoulos
2016-09-20 15:37:42 -07:00
parent b7a2b5e17a
commit 817beebb63
4 changed files with 18 additions and 12 deletions

View File

@ -1153,6 +1153,7 @@ NTSTATUS MemfsCreate(
VolumeParams.ReparsePointsAccessCheck = 0;
if (0 != VolumePrefix)
wcscpy_s(VolumeParams.Prefix, sizeof VolumeParams.Prefix / sizeof(WCHAR), VolumePrefix);
wcscpy_s(VolumeParams.FileSystemName, sizeof VolumeParams.FileSystemName / sizeof(WCHAR), L"MEMFS");
Result = FspFileSystemCreate(DevicePath, &VolumeParams, &MemfsInterface, &Memfs->FileSystem);
if (!NT_SUCCESS(Result))