static int OsErrorToException( LONG lOsError );
lOsError
An operating-system-specific error code.
This static function returns an enumerator that corresponds to a given lOsError value. If the error code is unknown, then the function returns CFileException::generic.
Enumerated value that corresponds to a given operating-system error value.
ASSERT( CFileException::OsErrorToException( 5 ) ==
CFileException::accessDenied );
CFileException::ErrnoToException