SymFindFileInPathProc Callback Function

Debug Help Library

SymFindFileInPathProc Callback Function

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

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

BOOL CALLBACK SymFindFileInPathProc(
  [in]                 PCTSTR fileName,
  [in]                 PVOID context
);

Parameters

fileName

The name of the file.

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

Redistributable

Requires DbgHelp.dll 5.1 or later.

Header

Declared in DbgHelp.h.

Unicode

Implemented as PFINDFILEINPATHCALLBACKW (Unicode) and PFINDFILEINPATHCALLBACK (ANSI).

See Also

DbgHelp FunctionsSymFindFileInPath


Send comments about this topic to Microsoft

Build date: 9/25/2007

© 2007 Microsoft Corporation. All rights reserved.