Latest available version: IDA and decompilers v8.4.240320sp1 see all releases
Hex-Rays logo State-of-the-art binary code analysis tools
email icon
file_enumerator_t Struct Referenceabstract

Enumerate files in the specified directory. More...

#include <diskio.hpp>

Public Member Functions

virtual int visit_file (const char *file)=0
 

Detailed Description

Enumerate files in the specified directory.

Parameters
[out]answerbuffer to contain the file name for which file_enumerator_t::visit_file returns non-zero value (may be nullptr)
answer_sizesize of 'answer'
pathdirectory to enumerate files in
fnamemask of file names to enumerate
fvfile_enumerator_t::visit_file function called for each file
  • file: full file name (with path)
  • if returns non-zero value, the enumeration is stopped and the return code is is returned to the caller. the callback function
Returns
zero or the code returned by 'func'

The documentation for this struct was generated from the following file: