Kommentar
Åtkomst till den här sidan kräver auktorisering. Du kan prova att logga in eller ändra kataloger.
Åtkomst till den här sidan kräver auktorisering. Du kan prova att ändra kataloger.
Converts a given run-time library error value to a CFileException enumerated error value.
static int PASCAL ErrnoToException(
int nErrno
);
Parameters
- nErrno
An integer error code as defined in the run-time include file ERRNO.H.
Return Value
Enumerated value that corresponds to a given run-time library error value.
Remarks
See CFileException::m_cause for a list of the possible enumerated values.
Example
ASSERT(CFileException::ErrnoToException(EACCES) ==
CFileException::accessDenied);
Requirements
Header: afx.h