INtime SDK Help
INtime SDK v7.1 > About INtime > Other system libraries > Heaps and memory pools > Using the Debug Heap > Writing your own debug hook functions > _CrtGetAllocHook

Retrieves the current client-defined allocation function for hooking into the C runtime debug memory allocation process (debug version only).

_CRT_ALLOC_HOOK _CrtGetAllocHook (void);




_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 runtime functions and writing your own client-defined hook functions, see Writing Your Own Debug Hook Functions.

Return Values

The currently defined allocation hook function.


Versions Defined in Include Link to
INtime 3.13 intime/rt/include/crtdbg.h crtdbg.h clib.lib
See Also