EnumDirTreeProc callback function
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.
Syntax
BOOL CALLBACK EnumDirTreeProc( _In_ PCTSTR FilePath, _In_opt_ PVOID CallerData );
Parameters
- FilePath [in]
-
A pointer to a buffer that receives the full path of the file that is found.
- 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.
Return value
To continue enumeration, the callback function must return FALSE.
To stop enumeration, the callback function must return TRUE.
Requirements
|
Redistributable |
DbgHelp.dll 6.0 or later |
|---|---|
|
Header |
|
See also