📄 hdhdlc.h
字号:
#if !defined(AFX_HDHDLC_H__AC97C8E1_3FB3_45E5_B638_260DEAADA28C__INCLUDED_)
#define AFX_HDHDLC_H__AC97C8E1_3FB3_45E5_B638_260DEAADA28C__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.
/////////////////////////////////////////////////////////////////////////////
// CHDHdlc wrapper class
class CHDHdlc : public CWnd
{
protected:
DECLARE_DYNCREATE(CHDHdlc)
public:
CLSID const& GetClsid()
{
static CLSID const clsid
= { 0x72a6affa, 0x8e6d, 0x4815, { 0xb0, 0x8f, 0xe7, 0x9d, 0x65, 0x9f, 0xe9, 0xb9 } };
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); }
// Attributes
public:
BOOL GetCheckError();
void SetCheckError(BOOL);
short GetTagAddrOfRecv();
void SetTagAddrOfRecv(short);
short GetRemoteAddr();
void SetRemoteAddr(short);
long GetRecvCmd();
void SetRecvCmd(long);
CString GetCommKey();
void SetCommKey(LPCTSTR);
BOOL GetSendCommKey();
void SetSendCommKey(BOOL);
short GetLocalAddr();
void SetLocalAddr(short);
long GetSendCmd();
void SetSendCmd(long);
short GetTagAddrOfSend();
void SetTagAddrOfSend(short);
// Operations
public:
BOOL WriteHDLCFrame(long* Buffer, long BufferLength);
};
//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_HDHDLC_H__AC97C8E1_3FB3_45E5_B638_260DEAADA28C__INCLUDED_)
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -