CFileException::ThrowOsError

Call this member function to throw a CFileException corresponding to a given lOsError value.

Syntax

static void PASCAL ThrowOsError( LONG lOsError LPCTSTR lpszFileName = NULL );

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::ThrowErrno