Skip to content

Latest commit

 

History

History
87 lines (67 loc) · 3.05 KB

nc-dbghelp-penumdirtree_callbackw.md

File metadata and controls

87 lines (67 loc) · 3.05 KB
UID title description helpviewer_keywords old-location tech.root ms.assetid ms.date ms.keywords req.header req.include-header req.target-type req.target-min-winverclnt req.target-min-winversvr req.kmdf-ver req.umdf-ver req.ddi-compliance req.unicode-ansi req.idl req.max-support req.namespace req.assembly req.type-library req.lib req.dll req.irql targetos req.typenames req.redist ms.custom f1_keywords dev_langs topic_type api_type api_location api_name
NC:dbghelp.PENUMDIRTREE_CALLBACKW
PENUMDIRTREE_CALLBACKW (dbghelp.h)
PENUMDIRTREE_CALLBACKW (Unicode) is an application-defined callback function used with the EnumDirTree function. It is called every time a match is found.
EnumDirTreeProc
EnumDirTreeProc callback
EnumDirTreeProc callback function
PENUMDIRTREE_CALLBACK
PENUMDIRTREE_CALLBACKW
_win32_enumdirtreeproc
base.enumdirtreeproc
dbghelp/EnumDirTreeProc
base\enumdirtreeproc.htm
Debug
eae41b83-bba5-4656-9a5c-b6ef56845954
08/03/2022
EnumDirTreeProc, EnumDirTreeProc callback, EnumDirTreeProc callback function, PENUMDIRTREE_CALLBACK, PENUMDIRTREE_CALLBACKW, _win32_enumdirtreeproc, base.enumdirtreeproc, dbghelp/EnumDirTreeProc
dbghelp.h
Windows
Windows
DbgHelp.dll 6.0 or later
19H1
PENUMDIRTREE_CALLBACKW
dbghelp/PENUMDIRTREE_CALLBACKW
c++
APIRef
kbSyntax
UserDefined
DbgHelp.h
EnumDirTreeProc

PENUMDIRTREE_CALLBACKW callback function

-description

An application-defined callback function used with the EnumDirTree function. It is called every time a match is found.

The PENUMDIRTREE_CALLBACK and PENUMDIRTREE_CALLBACKW types define a pointer to this callback function. EnumDirTreeProc is a placeholder for the application-defined function name.

-parameters

-param FilePath [in]

A pointer to a buffer that receives the full path of the file that is found.

-param CallerData [in, optional]

A user-defined value specified in EnumDirTree, or NULL. Typically, this parameter is used by an application to pass a pointer to a data structure that enables the callback function to establish some context.

-returns

To continue enumeration, the callback function must return FALSE.

To stop enumeration, the callback function must return TRUE.

-see-also

DbgHelp Functions

EnumDirTree

-remarks

Note

The dbghelp.h header defines PENUMDIRTREE_CALLBACK as an alias which automatically selects the ANSI or Unicode version of this function based on the definition of the UNICODE preprocessor constant. Mixing usage of the encoding-neutral alias with code that not encoding-neutral can lead to mismatches that result in compilation or runtime errors. For more information, see Conventions for Function Prototypes.