- 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 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);

View file

@ -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;