_CrtGetReportHook
div
eof
TOC
Collapse the table of content
Expand the table of content
The document is archived and information here might be outdated

_CrtGetReportHook 

Retrieves the client-defined reporting function for hooking it into the C run time for the debug reporting process (debug version only).


_CRT_REPORT_HOOK _CrtGetReportHook( void );

Returns the current client-defined reporting function.

_CrtGetReportHook allows an application to retrieve the current reporting function for the C run-time debug library reporting 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.

Routine Required header Compatibility

_CrtGetReportHook

<crtdbg.h>

Windows 95, Windows 98, Windows 98 Second Edition, Windows Millennium Edition, Windows NT 4.0, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003

For more compatibility information, see Compatibility in the Introduction.

Debug versions of C run-time libraries only.

For a sample of how to use _CrtSetReportHook, see report.

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

Show:
© 2016 Microsoft