mirror of
https://github.com/reactos/reactos.git
synced 2025-07-31 18:22:35 +00:00
[NTOSKRNL][ROSSYM] ZwReadFile() calls: Use explicit NULL instead of ambiguous 0. CORE-13910
This commit is contained in:
parent
21f0b163a7
commit
11baa0d723
4 changed files with 7 additions and 7 deletions
|
@ -19,11 +19,11 @@ RosSymZwReadFile(PVOID FileContext, PVOID Buffer, ULONG Size)
|
|||
IO_STATUS_BLOCK IoStatusBlock;
|
||||
|
||||
Status = ZwReadFile(*((HANDLE *) FileContext),
|
||||
0, 0, 0,
|
||||
NULL, NULL, NULL,
|
||||
&IoStatusBlock,
|
||||
Buffer,
|
||||
Size,
|
||||
0, 0);
|
||||
NULL, NULL);
|
||||
|
||||
return NT_SUCCESS(Status) && IoStatusBlock.Information == Size;
|
||||
}
|
||||
|
|
|
@ -18,11 +18,11 @@ RosSymZwReadFile(PVOID FileContext, PVOID Buffer, ULONG Size)
|
|||
IO_STATUS_BLOCK IoStatusBlock;
|
||||
|
||||
RosSymStatus = ZwReadFile(*((HANDLE *) FileContext),
|
||||
0, 0, 0,
|
||||
NULL, NULL, NULL,
|
||||
&IoStatusBlock,
|
||||
Buffer,
|
||||
Size,
|
||||
0, 0);
|
||||
NULL, NULL);
|
||||
|
||||
return NT_SUCCESS(RosSymStatus) && IoStatusBlock.Information == Size;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue