- Hackplement RtlSetUserValueHeap and RtlGetUserInfoHeap, they are needed for being able to build higher-level heap management around the Heap APIs (either for developers or the OS). Case in point, needed for my Global* rewrite in kernel32. The current APIs are utter hacks, but they work (eventually we should get rid of the Wine Windows 95 heap implementation and replace it).

svn path=/trunk/; revision=22552
This commit is contained in:
Alex Ionescu
2006-06-23 23:10:58 +00:00
parent 8cd72eb3cd
commit 6f34173bc0
3 changed files with 58 additions and 2 deletions
+19
View File
@@ -496,6 +496,16 @@ RtlGetProcessHeaps(
HANDLE *HeapArray
);
BOOLEAN
NTAPI
RtlGetUserInfoHeap(
IN PVOID HeapHandle,
IN ULONG Flags,
IN PVOID BaseAddress,
OUT PVOID *UserValue,
OUT PULONG UserFlags
);
NTSYSAPI
PVOID
NTAPI
@@ -516,6 +526,15 @@ BOOLEAN
NTAPI
RtlUnlockHeap(IN HANDLE Heap);
BOOLEAN
NTAPI
RtlSetUserValueHeap(
IN PVOID HeapHandle,
IN ULONG Flags,
IN PVOID BaseAddress,
IN PVOID UserValue
);
NTSYSAPI
ULONG
NTAPI