mirror of
https://github.com/reactos/reactos.git
synced 2024-12-28 01:55:19 +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,
|
||||
0,
|
||||
&DiskGeometry,
|
||||
sizeof(DISK_GEOMETRY),
|
||||
sizeof(DiskGeometry),
|
||||
FALSE,
|
||||
&Event,
|
||||
&IoStatusBlock);
|
||||
|
@ -2023,7 +2023,7 @@ IoGetBootDiskInformation(IN OUT PBOOTDISK_INFORMATION BootDiskInformation,
|
|||
NULL,
|
||||
0,
|
||||
&PartitionInformation,
|
||||
sizeof(PARTITION_INFORMATION_EX),
|
||||
sizeof(PartitionInformation),
|
||||
FALSE,
|
||||
&Event,
|
||||
&IoStatusBlock);
|
||||
|
@ -2094,7 +2094,7 @@ IoGetBootDiskInformation(IN OUT PBOOTDISK_INFORMATION BootDiskInformation,
|
|||
NULL,
|
||||
0,
|
||||
&PartitionInformation,
|
||||
sizeof(PARTITION_INFORMATION_EX),
|
||||
sizeof(PartitionInformation),
|
||||
FALSE,
|
||||
&Event,
|
||||
&IoStatusBlock);
|
||||
|
|
|
@ -274,7 +274,7 @@ IopCreateArcNamesCd(IN PLOADER_PARAMETER_BLOCK LoaderBlock)
|
|||
NULL,
|
||||
0,
|
||||
&DeviceNumber,
|
||||
sizeof(STORAGE_DEVICE_NUMBER),
|
||||
sizeof(DeviceNumber),
|
||||
FALSE,
|
||||
&Event,
|
||||
&IoStatusBlock);
|
||||
|
@ -499,7 +499,7 @@ IopCreateArcNamesDisk(IN PLOADER_PARAMETER_BLOCK LoaderBlock,
|
|||
NULL,
|
||||
0,
|
||||
&DeviceNumber,
|
||||
sizeof(STORAGE_DEVICE_NUMBER),
|
||||
sizeof(DeviceNumber),
|
||||
FALSE,
|
||||
&Event,
|
||||
&IoStatusBlock);
|
||||
|
@ -581,7 +581,7 @@ IopCreateArcNamesDisk(IN PLOADER_PARAMETER_BLOCK LoaderBlock,
|
|||
NULL,
|
||||
0,
|
||||
&DiskGeometry,
|
||||
sizeof(DISK_GEOMETRY),
|
||||
sizeof(DiskGeometry),
|
||||
FALSE,
|
||||
&Event,
|
||||
&IoStatusBlock);
|
||||
|
|
Loading…
Reference in a new issue