SetFindList

Far Manager

SetFindList

The SetFindList function is called to put the file names found by the Find file command to the file system emulated by the plugin. The files should not be physically copied or changed.
int WINAPI SetFindList(
  HANDLE hPlugin,
  const struct PluginPanelItem *PanelItem,
  int ItemsNumber
);

Parameters

hPlugin
Plugin handle returned by OpenPlugin or OpenFilePlugin.
PanelItem
Points to an array of PluginPanelItem structures. Each structure describes a file to put.
ItemsNumber
Number of elements in the PanelItem array.

Return value

If the function succeeds, the return value must be TRUE. If the function fails, FALSE should be returned.

Remarks

  • This function is typically used by the Temporary panel plugin (TMPCLASS.CPP, function TmpPanel::SetFindList)
  • Before calling this function, FAR calls the OpenPlugin(OPEN_FINDLIST,0) function. The SetFindList function is called only after a successful return of OpenPlugin.