mirror of
https://github.com/winfsp/winfsp.git
synced 2025-07-03 17:32:57 -05:00
sys: IRP_MJ_SET_INFORMATION: FileRenameInformation
This commit is contained in:
@ -95,6 +95,8 @@ VOID FspUnicodePathSuffix(PUNICODE_STRING Path, PUNICODE_STRING Remain, PUNICODE
|
||||
|
||||
Remain->Length = Remain->MaximumLength = (USHORT)((PUINT8)RemainEnd - (PUINT8)PathBgn);
|
||||
Remain->Buffer = PathBgn;
|
||||
if (0 == Remain->Length && PathBgn < PathEnd && L'\\' == *PathBgn)
|
||||
Remain->Length = Remain->MaximumLength = sizeof(WCHAR);
|
||||
Suffix->Length = Suffix->MaximumLength = (USHORT)((PUINT8)PathEnd - (PUINT8)SuffixBgn);
|
||||
Suffix->Buffer = SuffixBgn;
|
||||
}
|
||||
|
Reference in New Issue
Block a user