UserCreateHeap: use SIZE_T for parameter, also use SIZE_T for MmMapViewOfSection

svn path=/trunk/; revision=33343
This commit is contained in:
Timo Kreuzer 2008-05-07 14:39:31 +00:00
parent 335831c108
commit e3407fdd9c
2 changed files with 3 additions and 3 deletions

View file

@ -55,7 +55,7 @@ IntUserHeapCommitRoutine(IN PVOID Base,
} }
else else
{ {
ULONG ViewSize = 0; SIZE_T ViewSize = 0;
LARGE_INTEGER Offset; LARGE_INTEGER Offset;
extern PSECTION_OBJECT GlobalUserHeapSection; extern PSECTION_OBJECT GlobalUserHeapSection;
@ -163,7 +163,7 @@ IntUserHeapCreate(IN PSECTION_OBJECT SectionObject,
HANDLE HANDLE
UserCreateHeap(OUT PSECTION_OBJECT *SectionObject, UserCreateHeap(OUT PSECTION_OBJECT *SectionObject,
IN OUT PVOID *SystemBase, IN OUT PVOID *SystemBase,
IN ULONG HeapSize) IN SIZE_T HeapSize)
{ {
LARGE_INTEGER SizeHeap; LARGE_INTEGER SizeHeap;
HANDLE hHeap = NULL; HANDLE hHeap = NULL;

View file

@ -74,7 +74,7 @@ extern HANDLE GlobalUserHeap;
HANDLE HANDLE
UserCreateHeap(OUT PSECTION_OBJECT *SectionObject, UserCreateHeap(OUT PSECTION_OBJECT *SectionObject,
IN OUT PVOID *SystemBase, IN OUT PVOID *SystemBase,
IN ULONG HeapSize); IN SIZE_T HeapSize);
static __inline PVOID static __inline PVOID
UserHeapAlloc(SIZE_T Bytes) UserHeapAlloc(SIZE_T Bytes)