mirror of
https://github.com/reactos/reactos.git
synced 2025-02-22 08:25:03 +00:00
[KMTESTS:NPFS]
--MagicValues; CORE-7451 svn path=/trunk/; revision=62723
This commit is contained in:
parent
df69eedf4b
commit
502ebc94af
1 changed files with 2 additions and 2 deletions
|
@ -48,7 +48,7 @@ TestVolumeInfo(
|
|||
ok_eq_ulong(VolumeInfo.VolumeLabelLength, 18);
|
||||
ok_eq_size(RtlCompareMemory(VolumeInfo.VolumeLabel, L"NamedPipe", 18), 18);
|
||||
ok_eq_wchar(VolumeInfo.VolumeLabel[9], 0xFFFF);
|
||||
ok_eq_ulong(IoStatusBlock.Information, 36);
|
||||
ok_eq_ulong(IoStatusBlock.Information, (FIELD_OFFSET(FILE_FS_VOLUME_INFORMATION, VolumeLabel) + 9 * sizeof(WCHAR)));
|
||||
|
||||
RtlFillMemory(&VolumeInfo, sizeof(VolumeInfo), 0xFF);
|
||||
Status = ZwQueryVolumeInformationFile(ServerHandle,
|
||||
|
@ -65,7 +65,7 @@ TestVolumeInfo(
|
|||
ok_eq_ulong(VolumeInfo.VolumeLabelLength, 18);
|
||||
ok_eq_size(RtlCompareMemory(VolumeInfo.VolumeLabel, L"NamedP", 10), 10);
|
||||
ok_eq_wchar(VolumeInfo.VolumeLabel[5], 0xFFFF);
|
||||
ok_eq_ulong(IoStatusBlock.Information, 28);
|
||||
ok_eq_ulong(IoStatusBlock.Information, (FIELD_OFFSET(FILE_FS_VOLUME_INFORMATION, VolumeLabel) + 5 * sizeof(WCHAR)));
|
||||
|
||||
RtlFillMemory(&FileFsSizeInfo, sizeof(FileFsSizeInfo), 0xFF);
|
||||
Status = ZwQueryVolumeInformationFile(ServerHandle,
|
||||
|
|
Loading…
Reference in a new issue