- ProbeForRead/Write Length argument is a SIZE_T, not a ULONG

svn path=/trunk/; revision=36713
This commit is contained in:
Stefan Ginsberg 2008-10-11 09:42:44 +00:00
parent 1e1d996268
commit c74e4990a1
2 changed files with 4 additions and 4 deletions

View file

@ -7655,7 +7655,7 @@ VOID
NTAPI
ProbeForRead(
IN CONST VOID *Address,
IN ULONG Length,
IN SIZE_T Length,
IN ULONG Alignment);
NTKERNELAPI
@ -7663,7 +7663,7 @@ VOID
NTAPI
ProbeForWrite(
IN PVOID Address,
IN ULONG Length,
IN SIZE_T Length,
IN ULONG Alignment);

View file

@ -100,7 +100,7 @@ InterlockedExchangeAdd(IN OUT LONG volatile *Addend,
VOID
NTAPI
ProbeForRead(IN CONST VOID *Address,
IN ULONG Length,
IN SIZE_T Length,
IN ULONG Alignment)
{
PAGED_CODE();
@ -136,7 +136,7 @@ ProbeForRead(IN CONST VOID *Address,
VOID
NTAPI
ProbeForWrite(IN PVOID Address,
IN ULONG Length,
IN SIZE_T Length,
IN ULONG Alignment)
{
ULONG_PTR Last, Current = (ULONG_PTR)Address;