FilterFunctionFile(
LPVOID:lpFuncData,
LPTSTR:lpszFilePath,
LPWIN32_FIND_DATA:lpWFD,
BOOL:fSubFolderFilter
)
→ BOOL
The FilterFunctionFile function lets you support Opus's filtering in your plugins when performing batch-mode operations.
You should call this function for each file or folder if the BATCHF_FILTER flag is set in the VFSBATCHDATA flags field. Additionally, for recursive operations, you should call this function with fSubFolderFilter set to TRUE if the BATCHF_FILTER_FOLDERS flag is set. If a folder does not match the sub-folder filter, you should not recurse into it at all, but should skip over the entire folder.