Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Returns an enumerator that corresponds to a given lOsError value. If the error code is unknown, then the function returns CFileException::generic.
static int PASCAL OsErrorToException(
LONG lOsError
);
Parameters
- lOsError
An operating-system-specific error code.
Return Value
Enumerated value that corresponds to a given operating-system error value.
Example
ASSERT(CFileException::OsErrorToException(ERROR_ACCESS_DENIED) ==
CFileException::accessDenied);
Requirements
Header: afx.h
See Also
Reference
CFileException::ErrnoToException