Expand Minimize

SymEnumSourceFilesProc callback function

An application-defined callback function used with the SymEnumSourceFiles function.

The PSYM_ENUMSOURCEFILES_CALLBACK and PSYM_ENUMSOURCEFILES_CALLBACKW types define a pointer to this callback function. SymEnumSourceFilesProc is a placeholder for the application-defined function name.

Syntax


BOOL CALLBACK SymEnumSourceFilesProc(
  _In_      PSOURCEFILE pSourceFile,
  _In_opt_  PVOID UserContext
);

Parameters

pSourceFile [in]

A pointer to a SOURCEFILE structure that provides information about the source file.

UserContext [in, optional]

The user-defined value passed from the SymEnumSourceFiles 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

DbgHelp.dll 6.2 or later

Header

DbgHelp.h

See also

DbgHelp Functions
SOURCEFILE
SymEnumSourceFiles

 

 

Community Additions

ADD
Show:
© 2014 Microsoft