FRSUSERFUNC

Far Manager

FRSUSERFUNC

The FRSUSERFUNC type describes a callback function for the FSF.FarRecursiveSearch function that is called for each found file.
typedef int  (WINAPI *FRSUSERFUNC)(
  const WIN32_FIND_DATA *FData,
  const char *FullName,
  void *Param
);

Parameters

FData
Points to the WIN32_FIND_DATA structure of the found file.
FullName
Full path to the found file.
Param
Points to user data (the Param parameter of the FSF.FarRecursiveSearch function).

Return value

The function should return TRUE to continue searching the file system, or FALSE for the search process to be interrupted.

Remarks

FData and FullName are defined only in the context of this function, the plugin should not save those pointers. To save the data, the plugin must copy those values to internal structures. Param - the data that was passed to the FSF.FarRecursiveSearch function.
See also: