IDA C++ SDK 9.2
Loading...
Searching...
No Matches
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
virtual ~file_enumerator_t ()

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'

Constructor & Destructor Documentation

◆ ~file_enumerator_t()

virtual file_enumerator_t::~file_enumerator_t ( )
inlinevirtual

Member Function Documentation

◆ visit_file()

virtual int file_enumerator_t::visit_file ( const char * file)
pure virtual

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