مشاركة عبر


_CrtGetAllocHook

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 );

Valor devuelto

Returns the currently defined allocation hook function.

Comentarios

_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 Writing Your Own Debug Hook Functions.

Requisitos

Routine

Required header

_CrtGetAllocHook

<crtdbg.h>

For more compatibility information, see Compatibility in the Introduction.

Libraries

Debug versions of C run-time libraries only.

Equivalente en .NET Framework

Not applicable. To call the standard C function, use PInvoke. For more information, see Platform Invoke Examples.

Vea también

Referencia

Debug Routines

_CrtSetAllocHook