// PWDGDlg.h : header file // #if !defined(AFX_PCIWDGDLG_H__AE403CA7_5173_11D2_B760_0000C000224F__INCLUDED_) #define AFX_PCIWDGDLG_H__AE403CA7_5173_11D2_B760_0000C000224F__INCLUDED_ #if _MSC_VER >= 1000 #pragma once #endif // _MSC_VER >= 1000 ///////////////////////////////////////////////////////////////////////////// // CPCIWDGDlg dialog class CPCIWDGDlg : public CDialog { // Construction public: CPCIWDGDlg(CWnd* pParent = NULL); // standard constructor // Dialog Data //{{AFX_DATA(CPCIWDGDlg) enum { IDD = IDD_PCIWDG_DIALOG }; CButton m_TestButton; CString m_BaseAddress; CString m_StatusLabel; CString m_LoopLabel; //}}AFX_DATA // ClassWizard generated virtual function overrides //{{AFX_VIRTUAL(CPCIWDGDlg) protected: virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support //}}AFX_VIRTUAL // Implementation void FindCards(void); void CtrMode(unsigned char cntr, unsigned char mode); void LoadCtr(unsigned char c, unsigned short val); void SetCounter(); protected: HICON m_hIcon; // Generated message map functions //{{AFX_MSG(CPCIWDGDlg) virtual BOOL OnInitDialog(); afx_msg void OnPaint(); afx_msg HCURSOR OnQueryDragIcon(); afx_msg void OnShowWindow(BOOL bShow, UINT nStatus); afx_msg void OnClose(); afx_msg void OnExitButton(); afx_msg void OnTestButton(); afx_msg void OnTimer(UINT nIDEvent); //}}AFX_MSG DECLARE_MESSAGE_MAP() private: unsigned long BaseAddr; unsigned short IRQ; bool Running; unsigned char State; int Loop; }; //{{AFX_INSERT_LOCATION}} // Microsoft Developer Studio will insert additional declarations immediately before the previous line. #endif // !defined(AFX_PCIWDGDLG_H__AE403CA7_5173_11D2_B760_0000C000224F__INCLUDED_)