Nota:
El acceso a esta página requiere autorización. Puede intentar iniciar sesión o cambiar directorios.
El acceso a esta página requiere autorización. Puede intentar cambiar los directorios.
Determines the presence of a valid file handle for the CFile object.
static AFX_DATA const HANDLE hFileNull;
Remarks
This constant is used to determine if the CFile object has a valid file handle.
The following example demonstrates this operation:
if (myFile.m_hFile != CFile::hFileNull)
;//perform operations on the file
else
;//indicate the presence of an invalid handle
Requirements
Header: afx.h