| description |
Learn more about: _CrtGetAllocHook |
| title |
_CrtGetAllocHook |
| ms.date |
11/04/2016 |
| api_name |
|
| api_location |
msvcrt.dll |
msvcr80.dll |
msvcr90.dll |
msvcr100.dll |
msvcr100_clr0400.dll |
msvcr110.dll |
msvcr110_clr0400.dll |
msvcr120.dll |
msvcr120_clr0400.dll |
ucrtbase.dll |
|
| api_type |
|
| topic_type |
|
| f1_keywords |
CrtGetAllocHook |
_CrtGetAllocHook |
|
| helpviewer_keywords |
_CrtGetAllocHook function |
CrtGetAllocHook function |
|
| ms.assetid |
036acf7c-547a-4b3f-a636-80451070d7ed |
Retrieves the current client-defined allocation function for hooking into the C run-time debug memory allocation process (debug version only).
_CRT_ALLOC_HOOK _CrtGetAllocHook( void );
Returns the currently defined allocation hook function.
Remarks
_CrtGetAllocHook retrieves the current client-defined application hook function for the C run-time debug library memory allocation process.
For more information about using other hook-capable run-time functions and writing your own client-defined hook functions, see Debug hook function writing.
| Routine |
Required header |
_CrtGetAllocHook |
<crtdbg.h> |
For more compatibility information, see Compatibility.
Debug versions of C run-time libraries only.
Debug routines
_CrtSetAllocHook