[ros-diffs] [tkreuzer] 35713: MMerge 34827 from ros-amd64-bringup branch: - fix parameter types of NtAllocateVirtualMemory and NtFreeVirtualMemory

tkreuzer at svn.reactos.org tkreuzer at svn.reactos.org
Wed Aug 27 22:56:16 CEST 2008


Author: tkreuzer
Date: Wed Aug 27 15:56:16 2008
New Revision: 35713

URL: http://svn.reactos.org/svn/reactos?rev=35713&view=rev
Log:
MMerge 34827 from ros-amd64-bringup branch:
- fix parameter types of NtAllocateVirtualMemory and NtFreeVirtualMemory

Modified:
    trunk/reactos/ntoskrnl/mm/anonmem.c

Modified: trunk/reactos/ntoskrnl/mm/anonmem.c
URL: http://svn.reactos.org/svn/reactos/trunk/reactos/ntoskrnl/mm/anonmem.c?rev=35713&r1=35712&r2=35713&view=diff
==============================================================================
--- trunk/reactos/ntoskrnl/mm/anonmem.c [iso-8859-1] (original)
+++ trunk/reactos/ntoskrnl/mm/anonmem.c [iso-8859-1] Wed Aug 27 15:56:16 2008
@@ -523,7 +523,7 @@
 NtAllocateVirtualMemory(IN     HANDLE ProcessHandle,
                         IN OUT PVOID* UBaseAddress,
                         IN     ULONG  ZeroBits,
-                        IN OUT PULONG URegionSize,
+                        IN OUT PSIZE_T URegionSize,
                         IN     ULONG  AllocationType,
                         IN     ULONG  Protect)
 /*
@@ -900,7 +900,7 @@
 NTSTATUS STDCALL
 NtFreeVirtualMemory(IN HANDLE ProcessHandle,
                     IN PVOID*  PBaseAddress,
-                    IN PULONG PRegionSize,
+                    IN PSIZE_T PRegionSize,
                     IN ULONG FreeType)
 /*
  * FUNCTION: Frees a range of virtual memory



More information about the Ros-diffs mailing list