EnumDirTreeProc callback function
Applies to: desktop apps only
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
Send comments about this topic to Microsoft
Build date: 3/6/2012