Index.h
资源名称:pciexp.zip [点击查看]
上传用户:zhuqijet
上传日期:2007-01-04
资源大小:138k
文件大小:1k
源码类别:
驱动编程
开发平台:
Visual C++
- // Index.h : header file
- //
- /////////////////////////////////////////////////////////////////////////////
- // CIndex dialog
- class CIndex : public CPropertyPage
- {
- DECLARE_DYNCREATE(CIndex)
- // Construction
- public:
- CIndex();
- ~CIndex();
- // Dialog Data
- //{{AFX_DATA(CIndex)
- enum { IDD = IDD_INDEX };
- CButton c_Goto;
- CTreeCtrl c_Index;
- //}}AFX_DATA
- // Overrides
- // ClassWizard generate virtual function overrides
- //{{AFX_VIRTUAL(CIndex)
- protected:
- virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
- //}}AFX_VIRTUAL
- // Implementation
- protected:
- HTREEITEM addVendor(CString & shortVendor, CString & longVendor, WORD VendorID);
- void addDevice(HTREEITEM vendor, PCIData * data, int i);
- void updateControls();
- // Generated message map functions
- //{{AFX_MSG(CIndex)
- virtual BOOL OnInitDialog();
- afx_msg void OnGoto();
- afx_msg void OnSelchangedIndex(NMHDR* pNMHDR, LRESULT* pResult);
- //}}AFX_MSG
- DECLARE_MESSAGE_MAP()
- };