Enumerate files in the specified directory.
- Parameters
-
[out] | answer | buffer to contain the file name for which file_enumerator_t::visit_file returns non-zero value (may be nullptr) |
| answer_size | size of 'answer' |
| path | directory to enumerate files in |
| fname | mask of file names to enumerate |
| fv | file_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'
|
virtual int | visit_file (const char *file)=0 |
|
The documentation for this struct was generated from the following file: