📄 icdemo.h
字号:
// IcDemo.h : main header file for the ICDEMO application
//
#if !defined(AFX_ICDEMO_H__31094625_4CB2_11D7_BB13_F6E0E7F31A73__INCLUDED_)
#define AFX_ICDEMO_H__31094625_4CB2_11D7_BB13_F6E0E7F31A73__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
#ifndef __AFXWIN_H__
#error include 'stdafx.h' before including this file for PCH
#endif
#include "resource.h" // main symbols
/////////////////////////////////////////////////////////////////////////////
// CIcDemoApp:
// See IcDemo.cpp for the implementation of this class
//
typedef int (WINAPI * INITCOM) (int nCom );
typedef int (WINAPI * SELECTTYPE) (int nType);
typedef int (WINAPI * POWERON) (VOID);
typedef int (WINAPI * POWEROFF) (VOID);
typedef int (WINAPI * CLOSECOM) (VOID);
typedef int (WINAPI * RDHEX) (int apz,int addr,int length,char* buff);
typedef int (WINAPI * RDASC) (int apz,int addr,int length,char* buff);
typedef int (WINAPI * WRHEX) (int apz,int addr,int length,char* buff);
typedef int (WINAPI * WRASC) (int apz,int addr,int length,char* buff);
typedef int (WINAPI * CHKPWD) (int apz,int addr,char* buff);
typedef int (WINAPI * WRPWD) (char* buff);
typedef int (WINAPI * RDPWD) (char* buff);
class CIcDemoApp : public CWinApp
{
public:
CIcDemoApp();
HMODULE hsureDll;
INITCOM sureinit_com;
SELECTTYPE suresele_card;
POWERON surepower_on;
POWEROFF surepower_off;
CLOSECOM sureclose_com;
RDHEX surerd_asc;
RDASC surerd_str;
WRHEX surewr_asc;
WRASC surewr_str;
CHKPWD surechk_sc;
WRPWD surewr_sc;
RDPWD surerd_sm;
CString ReadWriteError(int nError);
int intCom;
int intType;
int intPage;
long lInfaceByte;
CString m_Pwd,m_ChkP;
int intRdPage;
// Overrides
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CIcDemoApp)
public:
virtual BOOL InitInstance();
virtual int ExitInstance();
//}}AFX_VIRTUAL
// Implementation
//{{AFX_MSG(CIcDemoApp)
// NOTE - the ClassWizard will add and remove member functions here.
// DO NOT EDIT what you see in these blocks of generated code !
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
};
/////////////////////////////////////////////////////////////////////////////
//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_ICDEMO_H__31094625_4CB2_11D7_BB13_F6E0E7F31A73__INCLUDED_)
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -