Share via


CFile::m_hFile

Contains the operating-system file handle for an open file.

HANDLE m_hFile;

Remarks

m_hFile is a public variable of type UINT. It contains CFile::hFileNull (an operating-system-independent empty file indicator) if the handle has not been assigned.

Use of m_hFile is not recommended because the member's meaning depends on the derived class. m_hFile is made a public member for convenience in supporting nonpolymorphic use of the class.

Requirements

Header: afx.h

See Also

Reference

CFile Class

Hierarchy Chart