PFINDFILEINPATHCALLBACK callback function (dbghelp.h)

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

The PFINDFILEINPATHCALLBACK and PFINDFILEINPATHCALLBACKW types define a pointer to this callback function. SymFindFileInPathProc is a placeholder for the application-defined function name.

Syntax

PFINDFILEINPATHCALLBACK Pfindfileinpathcallback;

BOOL Pfindfileinpathcallback(
  [in] PCSTR filename,
  [in] PVOID context
)
{...}

Parameters

[in] filename

The name of the file located by SymFindFileInPath.

[in] context

The user-defined value specified in SymFindFileInPath, or NULL. This parameter is typically used by an application to pass a pointer to a data structure that provides some context for the callback function.

Return value

Return TRUE to continue searching.

Return FALSE to end the search.

Requirements

Requirement Value
Target Platform Windows
Header dbghelp.h
Redistributable DbgHelp.dll 5.1 or later

See also

DbgHelp Functions

SymFindFileInPath