* Put the type definitions of the heap in a seperate header. Boudewijn Dekker
*/
-#include <ddk/ntddk.h>
-#include <ntdll/rtl.h>
+#include <k32.h>
#define NDEBUG
#include <kernel32/kernel32.h>
/*********************************************************************
* HeapCreate -- KERNEL32 *
*********************************************************************/
-HANDLE STDCALL HeapCreate(DWORD flags, DWORD minsize, DWORD maxsize)
+/*
+ * @implemented
+ */
+HANDLE STDCALL HeapCreate(DWORD flags, DWORD dwInitialSize, DWORD dwMaximumSize)
{
- DPRINT("HeapCreate( 0x%lX, 0x%lX, 0x%lX )\n", flags, minsize, maxsize);
- return(RtlCreateHeap(flags, NULL, maxsize, minsize, NULL, NULL));
+ DPRINT("HeapCreate( 0x%lX, 0x%lX, 0x%lX )\n", flags, dwInitialSize, dwMaximumSize);
+ return(RtlCreateHeap(flags, NULL, dwMaximumSize, dwInitialSize, NULL, NULL));
}
/*********************************************************************
* HeapDestroy -- KERNEL32 *
*********************************************************************/
+/*
+ * @implemented
+ */
BOOL WINAPI HeapDestroy(HANDLE hheap)
{
return(RtlDestroyHeap(hheap));
/*********************************************************************
* GetProcessHeap -- KERNEL32 *
*********************************************************************/
+/*
+ * @implemented
+ */
HANDLE WINAPI GetProcessHeap(VOID)
{
DPRINT("GetProcessHeap()\n");
/********************************************************************
* GetProcessHeaps -- KERNEL32 *
********************************************************************/
-DWORD WINAPI GetProcessHeaps(DWORD maxheaps, PHANDLE phandles )
+/*
+ * @implemented
+ */
+DWORD WINAPI GetProcessHeaps(DWORD maxheaps, PHANDLE phandles)
{
return(RtlGetProcessHeaps(maxheaps, phandles));
}
/*********************************************************************
* HeapLock -- KERNEL32 *
*********************************************************************/
+/*
+ * @implemented
+ */
BOOL WINAPI HeapLock(HANDLE hheap)
{
return(RtlLockHeap(hheap));
/*********************************************************************
* HeapUnlock -- KERNEL32 *
*********************************************************************/
+/*
+ * @implemented
+ */
BOOL WINAPI HeapUnlock(HANDLE hheap)
{
return(RtlUnlockHeap(hheap));
* NT uses this function to compact moveable blocks and other things *
* Here it does not compact, but it finds the largest free region *
*********************************************************************/
+/*
+ * @implemented
+ */
UINT WINAPI HeapCompact(HANDLE hheap, DWORD flags)
{
return RtlCompactHeap(hheap, flags);
/*********************************************************************
* HeapValidate -- KERNEL32 *
*********************************************************************/
+/*
+ * @implemented
+ */
BOOL WINAPI HeapValidate(HANDLE hheap, DWORD flags, LPCVOID pmem)
{
return(RtlValidateHeap(hheap, flags, (PVOID)pmem));
}
+/*
+ * @unimplemented
+ */
DWORD
STDCALL
HeapCreateTagsW (
}
+/*
+ * @unimplemented
+ */
DWORD
STDCALL
HeapExtend (
}
+/*
+ * @unimplemented
+ */
DWORD
STDCALL
HeapQueryTagW (
}
+/*
+ * @unimplemented
+ */
DWORD
STDCALL
HeapSummary (
}
+/*
+ * @unimplemented
+ */
DWORD
STDCALL
HeapUsage (
}
+/*
+ * @unimplemented
+ */
WINBOOL
STDCALL
HeapWalk (