CFileException::OsErrorToException

This method retrieves an enumerator that corresponds to a specified lOsError value. If the error code is unknown, then the method returns CFileException::generic.

At a Glance

Header file: Afx.h
Platforms: H/PC 2.0, Palm-size PC, H/PC Pro
Windows CE versions: 1.0 and later
Complete documentation: Visual C++ documentation

Syntax

static int PASCAL OsErrorToException( LONG lOsError );