CFileException::OsErrorToException

Call this member function to retrieve an enumerator that corresponds to a given lOsError value. If the error code is unknown, then the function returns CFileException::generic.

Syntax

static int PASCAL OsErrorToException( LONG lOsError );

At a Glance

Header file: Afx.h
Platforms:
Versions: 1.0 and later
Complete documentation: Visual C++ documentation

See Also

CFileException Overview, CFileException Member Functions, Exception Classes, CFileException::ErrnoToException