// 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; CButton m_ShutdownButton; CButton m_DisableButton; CButton m_IgnoreButton; CString m_BaseAddress; BOOL m_HandleCOS; BOOL m_HandleTimeout; CString m_BusType; BYTE m_BusNumber; CString m_StatusByte; CString m_StatusLabel; int m_IgnoreValue; CString m_LoopLabel; CString m_Base; CString m_IRQ; CString m_IRQLabel; CEdit m_IsaEditCtrl; CEdit m_IrqEditCtrl; CEdit m_IrqCtrl; //}}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(); void SetHandler(); 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 OnHandleTimeoutCheck(); 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_)