Share via


CAtlFile Members

Methods

CAtlFile

The constructor.

Create

Call this method to create or open a file.

Flush

Call this method to clear the buffers for the file and cause all buffered data to be written to the file.

GetOverlappedResult

Call this method to get the results of an overlapped operation on the file.

GetPosition

Call this method to get the current file pointer position from the file.

GetSize

Call this method to get the size in bytes of the file.

LockRange

Call this method to lock a region in the file to prevent other processes from accessing it.

Read

Call this method to read data from a file starting at the position indicated by the file pointer.

Seek

Call this method to move the file pointer of the file.

SetSize

Call this method to set the size of the file.

UnlockRange

Call this method to unlock a region of the file.

Write

Call this method to write data to the file starting at the position indicated by the file pointer.

Data Members

m_pTM

Pointer to CAtlTransactionManager object

See Also

Reference

CAtlFile Class