FilterFunctionFileEx(
const VFSBATCHDATA*:lpBatchData,
const TCHAR*:lpszFile,
const WIN32_FIND_DATA*:lpWFD
)
→ UINT
| DFFFE_SKIP | The item did not match the filter and should be skipped. (If a directory, do not recurse into it; skip it and its children.) |
| DFFFE_MATCH | The item matched the filter and should be handled. (If a directory, recurse into it; when deleting, delete if empty after recursion.) |
| DFFFE_RECURSE_ONLY | The directory itself did not match the filter but you should still recurse into it and check its children. |
The FilterFunctionFileEx function tests a file or folder against the filters in place for a batch operation. It is an extended version of FilterFunctionFile that can also indicate that a folder should be recursed into even though the folder itself did not match.
If the function is not available, the helper class returns DFFFE_MATCH.