DisCdromAndFdDlg.h
上传用户:lqt88888
上传日期:2009-12-14
资源大小:905k
文件大小:2k
- // DisCdromAndFdDlg.h : header file
- //
- #if !defined(AFX_DISCDROMANDFDDLG_H__AC3FD367_8609_11D6_8F32_00E04CE76240__INCLUDED_)
- #define AFX_DISCDROMANDFDDLG_H__AC3FD367_8609_11D6_8F32_00E04CE76240__INCLUDED_
- #if _MSC_VER > 1000
- #pragma once
- #endif // _MSC_VER > 1000
- /////////////////////////////////////////////////////////////////////////////
- // CDisCdromAndFdDlg dialog
- #include <afxtempl.h>
- //定义驱动器信息结构
- typedef struct drvitem
- {
- int nItem;
- CString strDrv;
- }DRVITEM;
- class CDisCdromAndFdDlg : public CDialog
- {
- // Construction
- public:
- CDisCdromAndFdDlg(CWnd* pParent = NULL); // standard constructor
- // Dialog Data
- //{{AFX_DATA(CDisCdromAndFdDlg)
- enum { IDD = IDD_DISCDROMANDFD_DIALOG };
- //}}AFX_DATA
- // ClassWizard generated virtual function overrides
- //{{AFX_VIRTUAL(CDisCdromAndFdDlg)
- protected:
- virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
- //}}AFX_VIRTUAL
- // Implementation
- protected:
- HICON m_hIcon;
- CArray<DRVITEM,DRVITEM&>arrDrvItems; //保存所有驱动器信息
- void FindAllDrivers();
- void DisDriver(CString strDriver);
- // Generated message map functions
- //{{AFX_MSG(CDisCdromAndFdDlg)
- virtual BOOL OnInitDialog();
- afx_msg void OnSysCommand(UINT nID, LPARAM lParam);
- afx_msg void OnPaint();
- afx_msg HCURSOR OnQueryDragIcon();
- afx_msg void OnSelchangeDriver();
- //}}AFX_MSG
- DECLARE_MESSAGE_MAP()
- };
- //{{AFX_INSERT_LOCATION}}
- // Microsoft Visual C++ will insert additional declarations immediately before the previous line.
- #endif // !defined(AFX_DISCDROMANDFDDLG_H__AC3FD367_8609_11D6_8F32_00E04CE76240__INCLUDED_)