ReactOS 0.4.16-dev-889-g9563c07
heap_handle.cpp File Reference
#include <corecrt_internal.h>
#include <malloc.h>
Include dependency graph for heap_handle.cpp:

Go to the source code of this file.

Functions

bool __cdecl __acrt_initialize_heap ()
 
bool __cdecl __acrt_uninitialize_heap (bool const)
 
intptr_t __cdecl _get_heap_handle ()
 
HANDLE __acrt_getheap ()
 

Variables

HANDLE __acrt_heap = nullptr
 

Function Documentation

◆ __acrt_getheap()

HANDLE __acrt_getheap ( )

Definition at line 48 of file heap_handle.cpp.

49{
50 _ASSERTE(__acrt_heap != nullptr);
51 return __acrt_heap;
52}
#define _ASSERTE(expr)
Definition: crtdbg.h:114
HANDLE __acrt_heap
Definition: heap_handle.cpp:15

◆ __acrt_initialize_heap()

bool __cdecl __acrt_initialize_heap ( void  )

Definition at line 21 of file heap_handle.cpp.

22{
24 if (__acrt_heap == nullptr)
25 return false;
26
27 return true;
28}
#define GetProcessHeap()
Definition: compat.h:736

◆ __acrt_uninitialize_heap()

bool __cdecl __acrt_uninitialize_heap ( bool const  )

Definition at line 32 of file heap_handle.cpp.

33{
34 __acrt_heap = nullptr;
35 return true;
36}

◆ _get_heap_handle()

intptr_t __cdecl _get_heap_handle ( void  )

Definition at line 40 of file heap_handle.cpp.

41{
42 _ASSERTE(__acrt_heap != nullptr);
43 return reinterpret_cast<intptr_t>(__acrt_heap);
44}
int intptr_t
Definition: vcruntime.h:134

Referenced by test__get_heap_handle().

Variable Documentation

◆ __acrt_heap