PSYM_ENUMLINES_CALLBACK callback function (dbghelp.h)
An application-defined callback function used with the SymEnumLines and SymEnumSourceLines functions.
The PSYM_ENUMLINES_CALLBACK and PSYM_ENUMLINES_CALLBACKW types define a pointer to this callback function. SymEnumLinesProc is a placeholder for the application-defined function name.
Syntax
PSYM_ENUMLINES_CALLBACK PsymEnumlinesCallback;
BOOL PsymEnumlinesCallback(
[in] PSRCCODEINFO LineInfo,
[in] PVOID UserContext
)
{...}
Parameters
[in] LineInfo
A pointer to a SRCCODEINFO structure that provides information about the line.
[in] UserContext
The user-defined value passed from the SymEnumLines function, or NULL. This parameter is typically used by an application to pass a pointer to a data structure that provides context information for the callback function.
Return value
If the function returns TRUE, the enumeration will continue.
If the function returns FALSE, the enumeration will stop.
Requirements
Requirement | Value |
---|---|
Target Platform | Windows |
Header | dbghelp.h |
Redistributable | DbgHelp.dll 6.1 or later |