// sample0Dlg.h : header file // #if !defined(AFX_SAMPLE0DLG_H__B4C1A258_A9C4_41EE_B4C1_D8794463AE65__INCLUDED_) #define AFX_SAMPLE0DLG_H__B4C1A258_A9C4_41EE_B4C1_D8794463AE65__INCLUDED_ #if _MSC_VER > 1000 #pragma once #endif // _MSC_VER > 1000 ///////////////////////////////////////////////////////////////////////////// // CSample0Dlg dialog #define regKey "Software\\PCIFIND\\NTioPCI\\Parameters" class CSample0Dlg : public CDialog { // Construction public: CSample0Dlg(CWnd* pParent = NULL); // standard constructor void GetDeviceInfo(); //find compatible CBitmap ClosedBmp, OpenBmp; char inByte, outByte; int numCards; unsigned long baseAddress; CStatic *inArray[8], *outArray[8]; unsigned long cardAddresses[64]; // Dialog Data //{{AFX_DATA(CSample0Dlg) enum { IDD = IDD_SAMPLE0_DIALOG }; CButton m_goBtn; CEdit m_addrEdit; CComboBox m_deviceList; CStatic m_output0; CStatic m_output1; CStatic m_output2; CStatic m_output3; CStatic m_output4; CStatic m_output5; CStatic m_output6; CStatic m_output7; CStatic m_input0; CStatic m_input1; CStatic m_input2; CStatic m_input3; CStatic m_input4; CStatic m_input5; CStatic m_input6; CStatic m_input7; //}}AFX_DATA // ClassWizard generated virtual function overrides //{{AFX_VIRTUAL(CSample0Dlg) protected: virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support //}}AFX_VIRTUAL // Implementation protected: HICON m_hIcon; // Generated message map functions //{{AFX_MSG(CSample0Dlg) virtual BOOL OnInitDialog(); afx_msg void OnPaint(); afx_msg HCURSOR OnQueryDragIcon(); afx_msg void OnOutput0(); afx_msg void OnOutput1(); afx_msg void OnOutput2(); afx_msg void OnOutput3(); afx_msg void OnOutput4(); afx_msg void OnOutput5(); afx_msg void OnOutput6(); afx_msg void OnOutput7(); afx_msg void OnSelchangeDeviceList(); afx_msg void OnGoBtn(); afx_msg void OnTimer(UINT nIDEvent); //}}AFX_MSG DECLARE_MESSAGE_MAP() }; //{{AFX_INSERT_LOCATION}} // Microsoft Visual C++ will insert additional declarations immediately before the previous line. #endif // !defined(AFX_SAMPLE0DLG_H__B4C1A258_A9C4_41EE_B4C1_D8794463AE65__INCLUDED_)