Platform SDK: Debugging and Error Handling |
The SymRegisterCallback function lets an application register a callback function for use by the symbol handler.
This function is implemented as a wrapper that calls SymRegisterCallback64. For more information, see New 64-bit Functions.
BOOL SymRegisterCallback( HANDLE hProcess, PSYMBOL_REGISTERED_CALLBACK CallbackFunction, PVOID UserContext );
For SymRegisterCallback64, the parameter list is as follows.
BOOL SymRegisterCallback64( HANDLE hProcess, PSYMBOL_REGISTERED_CALLBACK64 CallbackFunction, ULONG64 UserContext );
If the function succeeds, the return value is TRUE.
If the function fails, the return value is FALSE. To retrieve extended error information, call GetLastError.
The SymRegisterCallback function lets an application register a callback function for use by the symbol handler. The symbol handler calls the registered callback function when there is status or progress information for the application.
Windows NT/2000: Requires Windows NT 4.0 or later.
Windows 95/98: Requires Windows 95 or later. Available as a redistributable for Windows 95.
Header: Declared in Dbghelp.h.
Library: Use Dbghelp.lib.
Debug Help Library Overview, DbgHelp Functions, SymbolRegisteredCallback, SymInitialize