This topic has not yet been rated - Rate this topic

SymEnumSourceFilesProc callback function

Applies to: desktop apps only

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

 

 

Send comments about this topic to Microsoft

Build date: 3/6/2012

Did you find this helpful?
(1500 characters remaining)
Community Content Add
Annotations FAQ