FEDRA emulsion software from the OPERA Collaboration
_SERIAL_PORT_DATA Class Reference

Public Types

typedef BOOL() CANCELIO(HANDLE)
 
typedef CANCELIOLPCANCELIO
 

Public Member Functions

 _SERIAL_PORT_DATA ()
 
 ~_SERIAL_PORT_DATA ()
 

Public Attributes

HINSTANCE m_hKernel32
 
LPCANCELIO m_lpfnCancelIo
 

Member Typedef Documentation

◆ CANCELIO

typedef BOOL() _SERIAL_PORT_DATA::CANCELIO(HANDLE)

◆ LPCANCELIO

Constructor & Destructor Documentation

◆ _SERIAL_PORT_DATA()

_SERIAL_PORT_DATA::_SERIAL_PORT_DATA ( )
63{
64 m_hKernel32 = LoadLibrary(_T("KERNEL32.DLL"));
65 VERIFY(m_hKernel32 != NULL);
66 m_lpfnCancelIo = (LPCANCELIO) GetProcAddress(m_hKernel32, "CancelIo");
67}
CANCELIO * LPCANCELIO
Definition: serialport.cpp:58
LPCANCELIO m_lpfnCancelIo
Definition: serialport.cpp:59
HINSTANCE m_hKernel32
Definition: serialport.cpp:56
#define NULL
Definition: nidaqmx.h:84

◆ ~_SERIAL_PORT_DATA()

_SERIAL_PORT_DATA::~_SERIAL_PORT_DATA ( )
70{
71 FreeLibrary(m_hKernel32);
73}

Member Data Documentation

◆ m_hKernel32

HINSTANCE _SERIAL_PORT_DATA::m_hKernel32

◆ m_lpfnCancelIo

LPCANCELIO _SERIAL_PORT_DATA::m_lpfnCancelIo

The documentation for this class was generated from the following file: