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

📄 gsmcardtestdlg.h

📁 复件 GSMCardTest 是个GSM的VC程序。
💻 H
字号:
// GSMCardTestDlg.h : header file
//

#if !defined(AFX_GSMCARDTESTDLG_H__34B276D4_D613_4FCF_94B6_D3B8663B5C74__INCLUDED_)
#define AFX_GSMCARDTESTDLG_H__34B276D4_D613_4FCF_94B6_D3B8663B5C74__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000

#define NUMBER_OF_READERS	20
#define NAME_LENGTH			100
#define MAX_INPUT			1024
#define MAX_OUTPUT			4000
#define MAX_RESPONSE		2000



/////////////////////////////////////////////////////////////////////////////
// CGSMCardTestDlg dialog

class CGSMCardTestDlg : public CDialog
{
// Construction
public:
	CGSMCardTestDlg(CWnd* pParent = NULL);	// standard constructor
     ~CGSMCardTestDlg();
// Dialog Data
	//{{AFX_DATA(CGSMCardTestDlg)
	enum { IDD = IDD_GSMCARDTEST_DIALOG };
	CEdit	m_edit;
	CString	m_test1;
	CString	m_test2;
	CString	m_test4;
	CString	m_test3;
	CString	m_test5;
	//}}AFX_DATA

	// ClassWizard generated virtual function overrides
	//{{AFX_VIRTUAL(CGSMCardTestDlg)
	protected:
	virtual void DoDataExchange(CDataExchange* pDX);	// DDX/DDV support
	//}}AFX_VIRTUAL

// Implementation
protected:
	HICON m_hIcon;
	CString			MessageBuffer;
	long			ret;
	short			ReaderCount;
	unsigned long	ResponseLength;
	PBYTE			pResponseBuffer;
	char			ReaderName[NUMBER_OF_READERS][NAME_LENGTH];
	long			ProtocolType;
	PBYTE			pOutBuffer;
	short			act_Name;
	long			InBufferLength;

	short	AToHex(char *mhstr, BYTE *buf);

	// Generated message map functions
	//{{AFX_MSG(CGSMCardTestDlg)
	virtual BOOL OnInitDialog();
	afx_msg void OnSysCommand(UINT nID, LPARAM lParam);
	afx_msg void OnPaint();
	afx_msg HCURSOR OnQueryDragIcon();
	afx_msg void OnWrite();
	afx_msg void OnRead();
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()
};

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

#endif // !defined(AFX_GSMCARDTESTDLG_H__34B276D4_D613_4FCF_94B6_D3B8663B5C74__INCLUDED_)

⌨️ 快捷键说明

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