FEDRA emulsion software from the OPERA Collaboration
serialport.cpp File Reference
#include "serialport.h"
#include "winerror.h"
Include dependency graph for serialport.cpp:

Classes

class  _SERIAL_PORT_DATA
 

Functions

void AfxThrowSerialException (DWORD dwError)
 

Variables

_SERIAL_PORT_DATA _SerialPortData
 

Function Documentation

◆ AfxThrowSerialException()

void AfxThrowSerialException ( DWORD  dwError)
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

Variable Documentation

◆ _SerialPortData

_SERIAL_PORT_DATA _SerialPortData