This class provides a thin wrapper around the Windows file-handling API.
Important
This class and its members cannot be used in applications that execute in the Windows Runtime.
class CAtlFile : public CHandle
Members
Public Constructors
Name  | 
Description  | 
|---|---|
The constructor.  | 
Public Methods
Name  | 
Description  | 
|---|---|
Call this method to create or open a file.  | 
|
Call this method to clear the buffers for the file and cause all buffered data to be written to the file.  | 
|
Call this method to get the results of an overlapped operation on the file.  | 
|
Call this method to get the current file pointer position from the file.  | 
|
Call this method to get the size in bytes of the file.  | 
|
Call this method to lock a region in the file to prevent other processes from accessing it.  | 
|
Call this method to read data from a file starting at the position indicated by the file pointer.  | 
|
Call this method to move the file pointer of the file.  | 
|
Call this method to set the size of the file.  | 
|
Call this method to unlock a region of the file.  | 
|
Call this method to write data to the file starting at the position indicated by the file pointer.  | 
Protected Data Members
Name  | 
Description  | 
|---|---|
Pointer to CAtlTransactionManager object  | 
Remarks
Use this class when file-handling needs are relatively simple, but more abstraction than the Windows API provides is required, without including MFC dependencies.
Inheritance Hierarchy
CAtlFile
Requirements
Header: atlfile.h