The SymbolRegisteredCallback function is an application-defined callback function used with the SymRegisterCallback function. It is called by the symbol handler.
The PSYMBOL_REGISTERED_CALLBACK type defines a pointer to this callback function. SymbolRegisteredCallback is a placeholder for the application-defined function name.
BOOL CALLBACK SymbolRegisteredCallback(
HANDLE hProcess,
ULONG ActionCode,
PVOID CallbackData,
PVOID UserContext
);
Value | Meaning |
---|---|
CBA_DEFERRED_SYMBOL_LOAD_START | |
CBA_DEFERRED_SYMBOL_LOAD_COMPLETE | |
CBA_DEFERRED_SYMBOL_LOAD_FAILURE | |
CBA_SYMBOLS_UNLOADED | |
CBA_DUPLICATE_SYMBOL |
Returning the value TRUE indicates success.
Returning the value FALSE indicates failure.
The calling application gets called through the registered callback function as a result of another call to one of ImageHlp's symbol handler functions. The calling application must be prepared for the possible side effects that this can cause. If the application has only one callback function that is being used by multiple threads, then care may be necessary to synchronize some types of data access while in the context of the callback function.
Windows NT: Requires version 4.0 or later.
Windows: Requires Windows 95 or later. Available as a redistributable for Windows 95.
Windows CE: Unsupported.
Header: Declared in imagehlp.h.
Import Library: User-defined.
PE Image Helper (ImageHlp) Overview, Symbol Handler, SymRegisterCallback