PSYM_ENUMLINES_CALLBACKW 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_CALLBACKW PsymEnumlinesCallbackw;

BOOL PsymEnumlinesCallbackw(
  [in] PSRCCODEINFOW 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

   
Target Platform Windows
Header dbghelp.h
Redistributable DbgHelp.dll 6.1 or later

See also

DbgHelp Functions

SymEnumLines

SymEnumSourceLines