Platform SDK: Debugging and Error Handling |
The SymEnumSymbolsCallback function is an application-defined callback function used with the SymEnumerateSymbols function. It is called once for each enumerated symbol, and receives the symbol information.
The PSYM_ENUMSYMBOLS_CALLBACK type defines a pointer to this callback function. SymEnumSymbolsCallback is a placeholder for the application-defined function name.
BOOL CALLBACK SymEnumSymbolsCallback( PTSTR SymbolName, ULONG SymbolAddress, ULONG SymbolSize, PVOID UserContext );
The PSYM_ENUMSYMBOLS_CALLBACK64 type defines a pointer to this callback function. SymEnumSymbolsCallback64 is a placeholder for the application-defined function name.
BOOL CALLBACK SymEnumSymbolsCallback64( PTSTR SymbolName, DWORD64 SymbolAddress, ULONG SymbolSize, PVOID UserContext );
If the function returns TRUE, the enumeration will continue.
If the function returns FALSE, the enumeration will stop.
The calling application is called once per symbol until all the symbols are enumerated or until the enumeration callback function returns FALSE.
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.
Debug Help Library Overview, DbgHelp Functions, SymEnumerateSymbols