dll: Major refactoring: WIP

This commit is contained in:
Bill Zissimopoulos
2015-12-23 12:08:50 -08:00
parent 7033cc6095
commit 42762d49ea
5 changed files with 116 additions and 9 deletions

View File

@ -67,7 +67,8 @@ NTSTATUS FspVolumeCreate(
return STATUS_INVALID_PARAMETER;
/* copy the VolumeParams */
for (USHORT Index = 0, Length = FileObject->FileName.Length / 2; Length > Index; Index++)
for (USHORT Index = PREFIXW_SIZE / sizeof(WCHAR), Length = FileObject->FileName.Length / 2;
Length > Index; Index++)
{
WCHAR Value = FileObject->FileName.Buffer[Index];
if (0xF000 != (Value & 0xFF00))