SymEnumLinesProc Callback Function

Debug Help Library

SymEnumLinesProc Callback Function

An application-defined callback function used with the SymEnumLines and SymEnumSourceLines functions.

The PSYM_ENUMLINES_CALLBACK type defines a pointer to this callback function. SymEnumLinesProc is a placeholder for the application-defined function name.

BOOL CALLBACK SymEnumLinesProc(
  [in]                 PSRCCODEINFO LineInfo,
  [in]                 PVOID UserContext
);

Parameters

LineInfo

A pointer to a SRCCODEINFO structure that provides information about the line.

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

Redistributable

Requires DbgHelp.dll 6.1 or later.

Header

Declared in DbgHelp.h.

See Also

DbgHelp FunctionsSymEnumLines
SymEnumSourceLines


Send comments about this topic to Microsoft

Build date: 9/25/2007

© 2007 Microsoft Corporation. All rights reserved.