Description


Include file: xfilefi.h

Functions

XFileFind

Parameters

char * fileMask mask for the files to find(e.g. "*.EXE" )
LONG options options to search, valid values are:
XFILE_NORMAL
XFILE_READONLY
XFILE_HIDDEN
XFILE_SYSTEM
XFILE_DIRECTORY
XFILE_ARCHIVED
XMUST_HAVE_READONLY
XMUST_HAVE_HIDDEN
XMUST_HAVE_SYSTEM
XMUST_HAVE_DIRECTORY
XMUST_HAVE_ARCHIVED

Remarks

Construct a XFileFind-instance (do not forget to call the destructor)

~XFileFind

Remarks

Destroys a XFileFind-instance. Never forget to call the destructor!

Find

Parameters

XString * buffer buffer to hold the filename

Return-Value

BOOL

Remarks

After you have created an instance you can start to find files. Find() copy the filename found to the given bufer and returns TRUE, it returns FALSE if no file is found.


This document was generated by Jens von Pilgrim's Autodoc