ReactOS 0.4.16-dev-974-g5022a45
debug_heap_hook.cpp File Reference
#include <corecrt_internal.h>
Include dependency graph for debug_heap_hook.cpp:

Go to the source code of this file.

Functions

int __cdecl _CrtDefaultAllocHook (int const allocation_type, void *const data, size_t const size, int const block_use, long const request, unsigned char const *const file_name, int const line_number)
 

Variables

_CRT_ALLOC_HOOK _pfnAllocHook = _CrtDefaultAllocHook
 

Function Documentation

◆ _CrtDefaultAllocHook()

int __cdecl _CrtDefaultAllocHook ( int const  allocation_type,
void *const  data,
size_t const  size,
int const  block_use,
long const  request,
unsigned char const *const  file_name,
int const  line_number 
)

Definition at line 19 of file debug_heap_hook.cpp.

28{
29 UNREFERENCED_PARAMETER(allocation_type);
36
37 return 1; // Allow all heap operations
38}
int const char const *const int const line_number
Definition: debug_heap.cpp:499
_Out_opt_ size_t *const Character const *const int const block_use
Definition: getenv.cpp:258
GLint GLenum GLsizei GLsizei GLsizei GLint GLsizei const GLvoid * data
Definition: gl.h:1950
GLsizeiptr size
Definition: glext.h:5919
static LPCWSTR file_name
Definition: protocol.c:147
#define UNREFERENCED_PARAMETER(P)
Definition: ntbasedef.h:325
Definition: tftpd.h:86

Variable Documentation

◆ _pfnAllocHook