[PSDK][KERNEL32]
[reactos.git] / reactos / dll / win32 / kernel32 / client / heapmem.c
index 49ebc54..6ea3774 100644 (file)
@@ -43,8 +43,8 @@ BaseDllInitializeMemoryManager(VOID)
 HANDLE
 WINAPI
 HeapCreate(DWORD flOptions,
-           DWORD dwInitialSize,
-           DWORD dwMaximumSize)
+           SIZE_T dwInitialSize,
+           SIZE_T dwMaximumSize)
 {
     HANDLE hRet;
     ULONG Flags;
@@ -366,7 +366,7 @@ HeapSetInformation(HANDLE HeapHandle,
 HGLOBAL
 NTAPI
 GlobalAlloc(UINT uFlags,
-            DWORD dwBytes)
+            SIZE_T dwBytes)
 {
     ULONG Flags = 0;
     PVOID Ptr = NULL;
@@ -823,7 +823,7 @@ GlobalLock(HGLOBAL hMem)
 HGLOBAL
 NTAPI
 GlobalReAlloc(HGLOBAL hMem,
-              DWORD dwBytes,
+              SIZE_T dwBytes,
               UINT uFlags)
 {
     PBASE_HEAP_HANDLE_ENTRY HandleEntry;
@@ -1085,7 +1085,7 @@ GlobalReAlloc(HGLOBAL hMem,
 /*
  * @implemented
  */
-DWORD
+SIZE_T
 NTAPI
 GlobalSize(HGLOBAL hMem)
 {