Called when a file is found during a find or delete operation.
public:
HRESULT OnFoundFile(
LPCWSTR pszRootDirectory,
LPCWSTR pszSearchPattern,
LPCXTFFILEINFO pFileInfo
)
pszRootDirectory
Type: LPCWSTR
Pointer to the root directory path for the operation.
pszSearchPattern
Type: LPCWSTR
Pointer to the search pattern that defines the filenames of the files for the operation.
pFileInfo
Type: LPCXTFFILEINFO
Pointer to an XTFFILEINFO structure that contains information about the located file.
Type: HRESULT
HRESULT success or error code.
Header: Declared in xtffileio.h.
Library: Use xtffileio.lib.