📄 89c51prodlg.h
字号:
// 89c51ProDlg.h : header file
//
#if !defined(AFX_89C51PRODLG_H__B617FEFA_233B_40BC_96AB_3BBADED368D6__INCLUDED_)
#define AFX_89C51PRODLG_H__B617FEFA_233B_40BC_96AB_3BBADED368D6__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
/////////////////////////////////////////////////////////////////////////////
// CMy89c51ProDlg dialog
#include "DIBSectionLite.h"
#include "HEXBIN.h"
#include "PCIConfig.h"
class CMy89c51ProDlg : public CDialog
{
// Construction
public:
void LoadConfinfo();//加载配置信息
int EraseChip();//擦除芯片
UCHAR ReadSigNature(DWORD ADDR); //读特征字
CMy89c51ProDlg(CWnd* pParent = NULL); // standard constructor
BYTE MarkBitMap0[8];
BYTE MarkBitMap1[8];
HANDLE hFile,hFile1;
BYTE output[4097];
BYTE input[4097];
CWinThread * pss;//动画显示线程
DWORD outputL,inputL;
CDIBSectionLite pic[3];
unsigned short ADDR8139,EPPADDR;
int SaveCStringToFile(CString str);
int GetBit(UCHAR *data,int BitCount);
int SetBit(UCHAR * data,int BitCount,int BitValue);
UCHAR ReadFlash(DWORD ADDR);
int WriteFlash(DWORD ADDR, UCHAR DATA);
// Dialog Data
//{{AFX_DATA(CMy89c51ProDlg)
enum { IDD = IDD_MY89C51PRO_DIALOG };
CString m_LPT;
//}}AFX_DATA
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CMy89c51ProDlg)
protected:
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
//}}AFX_VIRTUAL
// Implementation
protected:
HICON m_hIcon;
// Generated message map functions
//{{AFX_MSG(CMy89c51ProDlg)
virtual BOOL OnInitDialog();
afx_msg void OnSysCommand(UINT nID, LPARAM lParam);
afx_msg void OnPaint();
afx_msg HCURSOR OnQueryDragIcon();
afx_msg void OnButton1();
afx_msg void OnButton2();
afx_msg void OnButton3();
afx_msg void OnButton4();
afx_msg void OnButton5();
afx_msg void OnButton6();
afx_msg void OnButton7();
afx_msg void OnButton8();
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
};
//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_89C51PRODLG_H__B617FEFA_233B_40BC_96AB_3BBADED368D6__INCLUDED_)
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -