// RawDiskDlg.h : header file // #include "afxwin.h" #if !defined(AFX_RAWDISKDLG_H__DAA4D26D_54B7_48AA_981B_8593F83CF880__INCLUDED_) #define AFX_RAWDISKDLG_H__DAA4D26D_54B7_48AA_981B_8593F83CF880__INCLUDED_ #if _MSC_VER > 1000 #pragma once #endif // _MSC_VER > 1000 ///////////////////////////////////////////////////////////////////////////// // CRawDiskDlg dialog class CDiskInfo: public CObject { public: UINT Id; UINT index; CString Driver; CString FriendlyName; CString devicename; unsigned char firstdata[128]; DWORD sectorsize; int mediatype; }; class CRawDiskDlg : public CDialog { // Construction public: CRawDiskDlg(CWnd* pParent = NULL); // standard constructor // Dialog Data //{{AFX_DATA(CRawDiskDlg) enum { IDD = IDD_RAWDISK_DIALOG }; CEdit m_cContent; CComboBox m_cSelectDisk; //}}AFX_DATA // ClassWizard generated virtual function overrides //{{AFX_VIRTUAL(CRawDiskDlg) protected: virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support //}}AFX_VIRTUAL // Implementation protected: HICON m_hIcon; CObArray m_aDiskInfo; CFont m_cFont; void GetAllDisksInfo(); // Generated message map functions //{{AFX_MSG(CRawDiskDlg) virtual BOOL OnInitDialog(); afx_msg void OnSysCommand(UINT nID, LPARAM lParam); afx_msg void OnPaint(); afx_msg HCURSOR OnQueryDragIcon(); afx_msg void OnAppAbout(); afx_msg void OnSelectDisk(); afx_msg void OnButtonWrite(); afx_msg void OnButtonRead(); //}}AFX_MSG DECLARE_MESSAGE_MAP() public: CEdit m_cSpeed; CEdit m_cRemaining; }; //{{AFX_INSERT_LOCATION}} // Microsoft Visual C++ will insert additional declarations immediately before the previous line. #endif // !defined(AFX_RAWDISKDLG_H__DAA4D26D_54B7_48AA_981B_8593F83CF880__INCLUDED_)