www.pudn.com > pc_pc.zip > mscomm.h, change:2016-06-29,size:3221b


#if !defined(AFX_MSCOMM_H__A944A7CC_901D_47C8_85A5_7D14A7423175__INCLUDED_) 
#define AFX_MSCOMM_H__A944A7CC_901D_47C8_85A5_7D14A7423175__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. 
 
///////////////////////////////////////////////////////////////////////////// 
// CMSComm wrapper class 
 
class CMSComm : public CWnd 
{ 
protected: 
	DECLARE_DYNCREATE(CMSComm) 
public: 
	CLSID const& GetClsid() 
	{ 
		static CLSID const clsid 
			= { 0x648a5600, 0x2c6e, 0x101b, { 0x82, 0xb6, 0x0, 0x0, 0x0, 0x0, 0x0, 0x14 } }; 
		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: 
 
// Operations 
public: 
	void SetCDHolding(BOOL bNewValue); 
	BOOL GetCDHolding(); 
	void SetCommID(long nNewValue); 
	long GetCommID(); 
	void SetCommPort(short nNewValue); 
	short GetCommPort(); 
	void SetCTSHolding(BOOL bNewValue); 
	BOOL GetCTSHolding(); 
	void SetDSRHolding(BOOL bNewValue); 
	BOOL GetDSRHolding(); 
	void SetDTREnable(BOOL bNewValue); 
	BOOL GetDTREnable(); 
	void SetHandshaking(long nNewValue); 
	long GetHandshaking(); 
	void SetInBufferSize(short nNewValue); 
	short GetInBufferSize(); 
	void SetInBufferCount(short nNewValue); 
	short GetInBufferCount(); 
	void SetBreak(BOOL bNewValue); 
	BOOL GetBreak(); 
	void SetInputLen(short nNewValue); 
	short GetInputLen(); 
	void SetNullDiscard(BOOL bNewValue); 
	BOOL GetNullDiscard(); 
	void SetOutBufferSize(short nNewValue); 
	short GetOutBufferSize(); 
	void SetOutBufferCount(short nNewValue); 
	short GetOutBufferCount(); 
	void SetParityReplace(LPCTSTR lpszNewValue); 
	CString GetParityReplace(); 
	void SetPortOpen(BOOL bNewValue); 
	BOOL GetPortOpen(); 
	void SetRThreshold(short nNewValue); 
	short GetRThreshold(); 
	void SetRTSEnable(BOOL bNewValue); 
	BOOL GetRTSEnable(); 
	void SetSettings(LPCTSTR lpszNewValue); 
	CString GetSettings(); 
	void SetSThreshold(short nNewValue); 
	short GetSThreshold(); 
	void SetOutput(const VARIANT& newValue); 
	VARIANT GetOutput(); 
	void SetInput(const VARIANT& newValue); 
	VARIANT GetInput(); 
	void SetCommEvent(short nNewValue); 
	short GetCommEvent(); 
	void SetEOFEnable(BOOL bNewValue); 
	BOOL GetEOFEnable(); 
	void SetInputMode(long nNewValue); 
	long GetInputMode(); 
}; 
 
//{{AFX_INSERT_LOCATION}} 
// Microsoft Visual C++ will insert additional declarations immediately before the previous line. 
 
#endif // !defined(AFX_MSCOMM_H__A944A7CC_901D_47C8_85A5_7D14A7423175__INCLUDED_)