mirror of
https://github.com/reactos/reactos.git
synced 2025-01-03 21:09:19 +00:00
- ProbeForRead/Write Length argument is a SIZE_T, not a ULONG
svn path=/trunk/; revision=36713
This commit is contained in:
parent
1e1d996268
commit
c74e4990a1
2 changed files with 4 additions and 4 deletions
|
@ -7655,7 +7655,7 @@ VOID
|
||||||
NTAPI
|
NTAPI
|
||||||
ProbeForRead(
|
ProbeForRead(
|
||||||
IN CONST VOID *Address,
|
IN CONST VOID *Address,
|
||||||
IN ULONG Length,
|
IN SIZE_T Length,
|
||||||
IN ULONG Alignment);
|
IN ULONG Alignment);
|
||||||
|
|
||||||
NTKERNELAPI
|
NTKERNELAPI
|
||||||
|
@ -7663,7 +7663,7 @@ VOID
|
||||||
NTAPI
|
NTAPI
|
||||||
ProbeForWrite(
|
ProbeForWrite(
|
||||||
IN PVOID Address,
|
IN PVOID Address,
|
||||||
IN ULONG Length,
|
IN SIZE_T Length,
|
||||||
IN ULONG Alignment);
|
IN ULONG Alignment);
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -100,7 +100,7 @@ InterlockedExchangeAdd(IN OUT LONG volatile *Addend,
|
||||||
VOID
|
VOID
|
||||||
NTAPI
|
NTAPI
|
||||||
ProbeForRead(IN CONST VOID *Address,
|
ProbeForRead(IN CONST VOID *Address,
|
||||||
IN ULONG Length,
|
IN SIZE_T Length,
|
||||||
IN ULONG Alignment)
|
IN ULONG Alignment)
|
||||||
{
|
{
|
||||||
PAGED_CODE();
|
PAGED_CODE();
|
||||||
|
@ -136,7 +136,7 @@ ProbeForRead(IN CONST VOID *Address,
|
||||||
VOID
|
VOID
|
||||||
NTAPI
|
NTAPI
|
||||||
ProbeForWrite(IN PVOID Address,
|
ProbeForWrite(IN PVOID Address,
|
||||||
IN ULONG Length,
|
IN SIZE_T Length,
|
||||||
IN ULONG Alignment)
|
IN ULONG Alignment)
|
||||||
{
|
{
|
||||||
ULONG_PTR Last, Current = (ULONG_PTR)Address;
|
ULONG_PTR Last, Current = (ULONG_PTR)Address;
|
||||||
|
|
Loading…
Reference in a new issue