74 if (PrevSize ==
Bytes)
PVOID NTAPI RtlAllocateHeap(IN PVOID HeapHandle, IN ULONG Flags, IN SIZE_T Size)
BOOLEAN NTAPI RtlFreeHeap(IN PVOID HeapHandle, IN ULONG Flags, IN PVOID HeapBase)
_Must_inspect_result_ _In_ PLARGE_INTEGER _In_ PLARGE_INTEGER _In_ ULONG _In_ PFILE_OBJECT _In_ PVOID Process
_Must_inspect_result_ _Outptr_ PVOID * SectionObject
NTSYSAPI PVOID WINAPI RtlReAllocateHeap(HANDLE, ULONG, PVOID, SIZE_T)
NTSYSAPI SIZE_T NTAPI RtlSizeHeap(_In_ PVOID HeapHandle, _In_ ULONG Flags, _In_ PVOID MemoryPointer)
#define HEAP_NO_SERIALIZE
PVOID NTAPI PsGetCurrentProcessWin32Process(VOID)
BOOL FASTCALL UserIsEnteredExclusive(VOID)
static GENERIC_MAPPING UserMapping
W32HEAP_USER_MAPPING HeapMappings
#define RtlCopyMemory(Destination, Source, Length)
NTSTATUS UnmapGlobalUserHeap(IN PEPROCESS Process)
static __inline PVOID UserHeapAlloc(SIZE_T Bytes)
static __inline PVOID UserHeapAddressToUser(PVOID lpMem)
struct _WIN32HEAP WIN32HEAP
PWIN32HEAP UserCreateHeap(OUT PVOID *SectionObject, IN OUT PVOID *SystemBase, IN SIZE_T HeapSize)
NTSTATUS MapGlobalUserHeap(IN PEPROCESS Process, OUT PVOID *KernelMapping, OUT PVOID *UserMapping)
static __inline BOOL UserHeapFree(PVOID lpMem)
static __inline PVOID UserHeapReAlloc(PVOID lpMem, SIZE_T Bytes)
struct _WIN32HEAP * PWIN32HEAP
PVOID GlobalUserHeapSection
SIZE_T WINAPI HeapSize(HANDLE, DWORD, LPCVOID)