CFile Members
Base Class Members
Data Members
Usually contains the operating-system file handle. |
|
Determines if the CFile object has a valid handle. |
|
Pointer to CAtlTransactionManager object. |
Operators
A handle to a CFile object. |
Construction
Closes a file ignoring all warnings and errors. |
|
Constructs a CFile object from a path or file handle. |
|
Closes a file and deletes the object. |
|
Constructs a duplicate object based on this file. |
|
Safely opens a file with an error-testing option. |
Input/Output
Flushes any data yet to be written. |
|
Reads (unbuffered) data from a file at the current file position. |
|
Writes (unbuffered) data in a file to the current file position. |
Position
Retrieves the length of the file. |
|
Positions the current file pointer. |
|
Positions the current file pointer at the beginning of the file. |
|
Positions the current file pointer at the end of the file. |
|
Changes the length of the file. |
Locking
Locks a range of bytes in a file. |
|
Unlocks a range of bytes in a file. |
Status
Retrieves the filename of the selected file. |
|
Retrieves the full file path of the selected file. |
|
Retrieves the title of the selected file. |
|
Retrieves the current file pointer. |
|
Retrieves the status of this open file. |
|
Sets the full file path of the selected file. |
Static
Retrieves the status of the specified file (static, virtual function). |
|
Deletes the specified file (static function). |
|
Renames the specified file (static function). |
|
Sets the status of the specified file (static, virtual function). |