⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 kscommctl.h

📁 动态鼠标
💻 H
字号:
#if !defined(AFX_KSCOMMCTL_H__C4762EBC_46F1_4231_AB98_8C2264CE3437__INCLUDED_)
#define AFX_KSCOMMCTL_H__C4762EBC_46F1_4231_AB98_8C2264CE3437__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.

/////////////////////////////////////////////////////////////////////////////
// CKSCommCtl wrapper class

class CKSCommCtl : public CWnd
{
protected:
	DECLARE_DYNCREATE(CKSCommCtl)
public:
	CLSID const& GetClsid()
	{
		static CLSID const clsid
			= { 0x3b2f73ba, 0xf74f, 0x4cf9, { 0x96, 0x56, 0x4c, 0x92, 0x93, 0xbf, 0x98, 0x42 } };
		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:
	CString GetCommPort();
	void SetCommPort(LPCTSTR);
	CString GetSettings();
	void SetSettings(LPCTSTR);
	CString GetXonChar();
	void SetXonChar(LPCTSTR);
	CString GetXoffChar();
	void SetXoffChar(LPCTSTR);
	CString GetErrorReplacedChar();
	void SetErrorReplacedChar(LPCTSTR);
	BOOL GetSendDataEmpty();
	void SetSendDataEmpty(BOOL);
	BOOL GetWriteCommLog();
	void SetWriteCommLog(BOOL);
	BOOL GetReadCommLog();
	void SetReadCommLog(BOOL);
	BOOL GetParityCheck();
	void SetParityCheck(BOOL);
	BOOL GetOutxCtsFlow();
	void SetOutxCtsFlow(BOOL);
	BOOL GetOutxDsrFlow();
	void SetOutxDsrFlow(BOOL);
	BOOL GetDsrSensitivity();
	void SetDsrSensitivity(BOOL);
	BOOL GetTxContinueOnXoff();
	void SetTxContinueOnXoff(BOOL);
	BOOL GetOutxXonXoffFlow();
	void SetOutxXonXoffFlow(BOOL);
	BOOL GetInxXonXoffFlow();
	void SetInxXonXoffFlow(BOOL);
	BOOL GetReplaceWhenParityError();
	void SetReplaceWhenParityError(BOOL);
	BOOL GetIgnoreNullChar();
	void SetIgnoreNullChar(BOOL);
	long GetXonLimit();
	void SetXonLimit(long);
	long GetXoffLimit();
	void SetXoffLimit(long);
	long GetReadIntervalTimeout();
	void SetReadIntervalTimeout(long);
	long GetReadTotalTimeoutMultiplier();
	void SetReadTotalTimeoutMultiplier(long);
	long GetReadTotalTimeoutConstant();
	void SetReadTotalTimeoutConstant(long);
	long GetWriteTotalTimeoutMultiplier();
	void SetWriteTotalTimeoutMultiplier(long);
	long GetWriteTotalTimeoutConstant();
	void SetWriteTotalTimeoutConstant(long);
	short GetDtrControl();
	void SetDtrControl(short);
	short GetRtsControl();
	void SetRtsControl(short);

// Operations
public:
	CString EnumComPorts();
	BOOL StartComm();
	void StopComm();
	long GetModemState();
	CString GetVersionInfo();
	BOOL WriteCommData(long* Buffer, long BufferLength);
	void AboutBox();
};

//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.

#endif // !defined(AFX_KSCOMMCTL_H__C4762EBC_46F1_4231_AB98_8C2264CE3437__INCLUDED_)

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -