⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 diskreadwritedlg.h

📁 一个可对磁盘扇道直接进行读写操作的程序
💻 H
字号:
// DiskreadwriteDlg.h : header file
//

#if !defined(AFX_DISKREADWRITEDLG_H__D14257C2_AD50_46B2_B662_CC981B96BD1D__INCLUDED_)
#define AFX_DISKREADWRITEDLG_H__D14257C2_AD50_46B2_B662_CC981B96BD1D__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000

/////////////////////////////////////////////////////////////////////////////
// CDiskreadwriteDlg dialog

class CDiskreadwriteDlg : public CDialog
{
// Construction
public:
	void ShowDisk(COLORREF crf);
	UINT m_Sectornum;
	DWORD m_Filelen;
	short* m_pIntOrginalData;
	short* m_pIntReadData;
	CDiskreadwriteDlg(CWnd* pParent = NULL);	// standard constructor
	COLORREF m_crf;
// Dialog Data
	//{{AFX_DATA(CDiskreadwriteDlg)
	enum { IDD = IDD_DISKREADWRITE_DIALOG };
	CComboBox	m_DiskNum;
	DWORD	m_StartRector;
	DWORD	m_EndRector;
	CTime	m_StartTime;
	UINT	m_Timelong;
	//}}AFX_DATA

	// ClassWizard generated virtual function overrides
	//{{AFX_VIRTUAL(CDiskreadwriteDlg)
	protected:
	virtual void DoDataExchange(CDataExchange* pDX);	// DDX/DDV support
	//}}AFX_VIRTUAL

// Implementation
protected:
	HICON m_hIcon;

	// Generated message map functions
	//{{AFX_MSG(CDiskreadwriteDlg)
	virtual BOOL OnInitDialog();
	afx_msg void OnSysCommand(UINT nID, LPARAM lParam);
	afx_msg void OnPaint();
	afx_msg HCURSOR OnQueryDragIcon();
	afx_msg void OnReadfileBtn();
	afx_msg void OnWritedataBtn();
	afx_msg void OnDestroy();
	afx_msg void OnReadsectorBtn();
	afx_msg void OnSavefileBtn();
	afx_msg void OnBasedontimeBtn();
	afx_msg void OnReadbasedontimeBtn();
	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_DISKREADWRITEDLG_H__D14257C2_AD50_46B2_B662_CC981B96BD1D__INCLUDED_)

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -