hostdownloaddlg.h

来自「基于DAM6416开发板的PCI下载程序」· C头文件 代码 · 共 70 行

H
70
字号
// hostdownloadDlg.h : header file
//

#if !defined(AFX_HOSTDOWNLOADDLG_H__1E28ACA5_29CB_4FB9_BCBD_E7A911635CD4__INCLUDED_)
#define AFX_HOSTDOWNLOADDLG_H__1E28ACA5_29CB_4FB9_BCBD_E7A911635CD4__INCLUDED_

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

#include "atetypes_1.h"
#include "IekC64Sdk.h"

/////////////////////////////////////////////////////////////////////////////
// CHostdownloadDlg dialog

class CHostdownloadDlg : public CDialog
{
// Construction
public:
	CHostdownloadDlg(CWnd* pParent = NULL);	// standard constructor
	HANDLE hEventMsg ;

	// This handle points to the IEK board object
	IEKC64_HANDLE IekHandle ;

	// This buffer will hold in and out messages
	Uint32	MessageBuffer[5];

	// helper function to wait for DSP message
	IEKC64_STATUS waitMessage( void );


// Dialog Data
	//{{AFX_DATA(CHostdownloadDlg)
	enum { IDD = IDD_HOSTDOWNLOAD_DIALOG };
		// NOTE: the ClassWizard will add data members here
	//}}AFX_DATA

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

	// This Event will be connected to incomming messages from the DSP

// Implementation
protected:
	HICON m_hIcon;

	// Generated message map functions
	//{{AFX_MSG(CHostdownloadDlg)
	virtual BOOL OnInitDialog();
	afx_msg void OnPaint();
	afx_msg HCURSOR OnQueryDragIcon();
	afx_msg void OnBUTTONExit();
	afx_msg void OnBUTTONStart();
	afx_msg void OnBUTTONDownload();
	virtual void OnCancel();
	afx_msg void OnBUTTONInit();
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()
};

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

#endif // !defined(AFX_HOSTDOWNLOADDLG_H__1E28ACA5_29CB_4FB9_BCBD_E7A911635CD4__INCLUDED_)

⌨️ 快捷键说明

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