Description |
Parent class: XIO
CreateDirectory |
char * path path of the directory to create
Creates a directory
DeleteDirectory |
char * path path of the directory to delete
Delete a directory
GetCurrentDirectory |
XString * buffer buffer to hold the data
Query the current directory
GetCurrentDisk |
char& buffer buffer to hold data (will contain A,B,..)
Query the current disk
IsDriveAvaible |
char drive the drive (A, B, ....)
BOOL result
Query if a drive is avaible or not
SetDefaultDisk |
char drive the drive (A, B, ....)
Set the dault disk
Copy |
char * from file to copy (including path if nessecary)
char * to destination (including path if nessecary)
ULONG result returncode from the OS.
Copy a file
GetFileInfo |
XFileInfo * info pointer to an instance of XFileInfo
LONG result of the operatingsystem
Query information about files. To access information the file must be open and XFILE_SHARE_DENYWRITE must be set!
Move |
char * from file to copy (including path if nessecary)
char * to destination (including path if nessecary). If the same directory is given,
Move() renames the file.
ULONG result returncode from the OS.
Move a file
Remove |
char * fileName name of the file to delete (including path if nessecary)
BOOL success
Delete a file
ResetBuffer |
ULONG result returncode from the OS.
Wait until all writen datas are physicaly saved
Open |
char * path | the path of the file | ||||||||||||||
ULONG modeForOpen | how to open, possible values are:
(can be or-ed) | ||||||||||||||
ULONG accessMode | mode for file-sharing and access, possible values are:
(can be or-ed) | ||||||||||||||
ULONG size | size to open (only if a file is created, default is 0) | ||||||||||||||
EAOP2 * eaList | list with extended attributes (default is NULL) |
ULONG result returned by the OS
Open a file