FEDRA emulsion software from the OPERA Collaboration
serialport.h File Reference
#include "stdafx.h"
Include dependency graph for serialport.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  CSerialException
 
class  CSerialPort
 

Functions

void AfxThrowSerialException (DWORD dwError=0)
 

Function Documentation

◆ AfxThrowSerialException()

void AfxThrowSerialException ( DWORD  dwError = 0)
86 {
87  if (dwError == 0)
88  dwError = ::GetLastError();
89 
90  CSerialException* pException = new CSerialException(dwError);
91 
92  TRACE(_T("Warning: throwing CSerialException for error %d\n"), dwError);
93  THROW(pException);
94 }
Definition: serialport.h:32