mirror of
https://github.com/reactos/reactos.git
synced 2024-12-28 18:15:11 +00:00
[NTOS:IO] Avoid hardcoding variable types in sizeofs when possible.
This commit is contained in:
parent
6e65e6b28d
commit
99078646c3
2 changed files with 6 additions and 6 deletions
|
@ -1914,7 +1914,7 @@ IoGetBootDiskInformation(IN OUT PBOOTDISK_INFORMATION BootDiskInformation,
|
||||||
NULL,
|
NULL,
|
||||||
0,
|
0,
|
||||||
&DiskGeometry,
|
&DiskGeometry,
|
||||||
sizeof(DISK_GEOMETRY),
|
sizeof(DiskGeometry),
|
||||||
FALSE,
|
FALSE,
|
||||||
&Event,
|
&Event,
|
||||||
&IoStatusBlock);
|
&IoStatusBlock);
|
||||||
|
@ -2023,7 +2023,7 @@ IoGetBootDiskInformation(IN OUT PBOOTDISK_INFORMATION BootDiskInformation,
|
||||||
NULL,
|
NULL,
|
||||||
0,
|
0,
|
||||||
&PartitionInformation,
|
&PartitionInformation,
|
||||||
sizeof(PARTITION_INFORMATION_EX),
|
sizeof(PartitionInformation),
|
||||||
FALSE,
|
FALSE,
|
||||||
&Event,
|
&Event,
|
||||||
&IoStatusBlock);
|
&IoStatusBlock);
|
||||||
|
@ -2094,7 +2094,7 @@ IoGetBootDiskInformation(IN OUT PBOOTDISK_INFORMATION BootDiskInformation,
|
||||||
NULL,
|
NULL,
|
||||||
0,
|
0,
|
||||||
&PartitionInformation,
|
&PartitionInformation,
|
||||||
sizeof(PARTITION_INFORMATION_EX),
|
sizeof(PartitionInformation),
|
||||||
FALSE,
|
FALSE,
|
||||||
&Event,
|
&Event,
|
||||||
&IoStatusBlock);
|
&IoStatusBlock);
|
||||||
|
|
|
@ -274,7 +274,7 @@ IopCreateArcNamesCd(IN PLOADER_PARAMETER_BLOCK LoaderBlock)
|
||||||
NULL,
|
NULL,
|
||||||
0,
|
0,
|
||||||
&DeviceNumber,
|
&DeviceNumber,
|
||||||
sizeof(STORAGE_DEVICE_NUMBER),
|
sizeof(DeviceNumber),
|
||||||
FALSE,
|
FALSE,
|
||||||
&Event,
|
&Event,
|
||||||
&IoStatusBlock);
|
&IoStatusBlock);
|
||||||
|
@ -499,7 +499,7 @@ IopCreateArcNamesDisk(IN PLOADER_PARAMETER_BLOCK LoaderBlock,
|
||||||
NULL,
|
NULL,
|
||||||
0,
|
0,
|
||||||
&DeviceNumber,
|
&DeviceNumber,
|
||||||
sizeof(STORAGE_DEVICE_NUMBER),
|
sizeof(DeviceNumber),
|
||||||
FALSE,
|
FALSE,
|
||||||
&Event,
|
&Event,
|
||||||
&IoStatusBlock);
|
&IoStatusBlock);
|
||||||
|
@ -581,7 +581,7 @@ IopCreateArcNamesDisk(IN PLOADER_PARAMETER_BLOCK LoaderBlock,
|
||||||
NULL,
|
NULL,
|
||||||
0,
|
0,
|
||||||
&DiskGeometry,
|
&DiskGeometry,
|
||||||
sizeof(DISK_GEOMETRY),
|
sizeof(DiskGeometry),
|
||||||
FALSE,
|
FALSE,
|
||||||
&Event,
|
&Event,
|
||||||
&IoStatusBlock);
|
&IoStatusBlock);
|
||||||
|
|
Loading…
Reference in a new issue