Share via


CAtlFile::CAtlFile

The constructor.

CAtlFile( ) throw( ); 
CAtlFile(
   CAtlTransactionManager* pTM = NULL
) throw( );
CAtlFile(
   CAtlFile& file 
) throw( );
explicit CAtlFile(
   HANDLE hFile 
) throw( );

Parameters

  • file
    The file object.

  • hFile
    The file handle.

  • pTM
    Pointer to CAtlTransactionManager object

Remarks

The copy constructor transfers ownership of the file handle from the original CAtlFile object to the newly constructed object.

Requirements

Header: atlfile.h

See Also

Reference

CAtlFile Class

Other Resources

CAtlFile Members