#if !defined(AFX_ASCIICE2_H__4AF755B6_60DF_4295_83BA_920A2F21D04E__INCLUDED_)
#define AFX_ASCIICE2_H__4AF755B6_60DF_4295_83BA_920A2F21D04E__INCLUDED_
#if _MSC_VER >= 1000
#pragma once
#endif // _MSC_VER >= 1000
// Machine generated IDispatch wrapper class(es) created by Microsoft Visual C++
// NOTE: Do not modify the contents of this file. If this class is regenerated by
// Microsoft Visual C++, your modifications will be overwritten.
/////////////////////////////////////////////////////////////////////////////
// CAsciiCE2 wrapper class
class CAsciiCE2 : public CWnd
{
protected:
DECLARE_DYNCREATE(CAsciiCE2)
public:
CLSID const& GetClsid()
{
static CLSID const clsid
= { 0xc37aea60, 0xa7ca, 0x40be, { 0xa2, 0xe6, 0x93, 0x5e, 0xb3, 0x99, 0x3b, 0xbe } };
return clsid;
}
virtual BOOL Create(LPCTSTR lpszClassName,
LPCTSTR lpszWindowName, DWORD dwStyle,
const RECT& rect,
CWnd* pParentWnd, UINT nID,
CCreateContext* pContext = NULL)
{ return CreateControl(GetClsid(), lpszWindowName, dwStyle, rect, pParentWnd, nID); }
BOOL Create(LPCTSTR lpszWindowName, DWORD dwStyle,
const RECT& rect, CWnd* pParentWnd, UINT nID,
CFile* pPersist = NULL, BOOL bStorage = FALSE,
BSTR bstrLicKey = NULL)
{ return CreateControl(GetClsid(), lpszWindowName, dwStyle, rect, pParentWnd, nID,
pPersist, bStorage, bstrLicKey); }
// Operations
public:
void CrLf();
void Char(long ch);
void RepeatChar(long ch, long repeatcnt);
void FormFeed();
long SelectPort(long Port, long Baudrate, long Handshake);
long Init(LPCTSTR RegID);
void ClosePort();
void Text(LPCTSTR TextString);
long GetCapabilities();
long GetPeek();
long GetStatusCheck();
void SetSetErrorLevel(long nNewValue);
void SetSetReportLevel(long nNewValue);
long GetGetVersion();
CString GetAbout();
long PrDialogBox(long Operation);
void PrDialogBoxText(LPCTSTR MainText, LPCTSTR TitleText, LPCTSTR CancelBtnText);
long SelectPortEx(long Port, long Baudrate, long Handshake, long ReadBufferSize);
short ReadChar();
CString ReadString(long nMaxChars, long nLastChar, long nModeFlags, long nTimeToWait, long* lpResultFlags, long* lpCharsRead);
VARIANT ReadVar(long nMaxBytes, long nLastChar, long nModeFlags, long nTimeToWait, VARIANT* lpResultFlags, VARIANT* lpBytesRead);
CString ReadStringVar(long nMaxChars, long nLastChar, long nModeFlags, long nTimeToWait, VARIANT* lpResultFlags, VARIANT* lpCharsRead);
void WriteVar(VARIANT* lpBuffer, long nNumberOfBytesToWrite, VARIANT* lpNumberOfBytesWritten);
//------------------------
// Add to AsciiCE2.H - Compensates for MFC bug
void Read(long nMaxBytes,long nLastChar,long nModeFlags,long nTimeToWait,long* lpResultFlags,long* lpBytesRead,unsigned char* lpBuffer);
void Write(unsigned char* lpBuffer, long nNumberOfBytesToWrite, long* lpNumberOfBytesWritten);
};
//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_ASCIICE2_H__4AF755B6_60DF_4295_83BA_920A2F21D04E__INCLUDED_)