共用方式為


_CrtGetDumpClient

Retrieves the current application-defined function for dumping the _CLIENT_BLOCK type memory blocks (debug version only).

_CRT_DUMP_CLIENT _CrtGetDumpClient( void );

Return Value

Returns the current dump routine.

Remarks

The _CrtGetDumpClient function retrieves the current hook function for dumping objects stored in the _CLIENT_BLOCK memory blocks for the C run-time debug memory dump 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.

Requirements

Routine

Required header

_CrtGetDumpClient

<crtdbg.h>

For more compatibility information, see Compatibility in the Introduction.

Libraries

Debug versions of C run-time libraries only.

.NET Framework Equivalent

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

See Also

Reference

Debug Routines

_CrtReportBlockType

_CrtSetDumpClient