querydosdevice.h

来自「IO函数调用测试」· C头文件 代码 · 共 54 行

H
54
字号
// QueryDosDevice.h : header file
//

/////////////////////////////////////////////////////////////////////////////
// CQueryDosDevice dialog

class CQueryDosDevice : public CPropertyPage
{
	DECLARE_DYNCREATE(CQueryDosDevice)

// Construction
public:
	CQueryDosDevice();
	~CQueryDosDevice();

// Dialog Data
	//{{AFX_DATA(CQueryDosDevice)
	enum { IDD = IDD_QUERYDOSDEVICE };
	CDataListBox	c_Device;
	CDataListBox	c_Result;
	CDataListBox	c_List;
	//}}AFX_DATA


// Overrides
	// ClassWizard generate virtual function overrides
	//{{AFX_VIRTUAL(CQueryDosDevice)
	public:
	virtual BOOL OnSetActive();
	virtual BOOL OnKillActive();
	protected:
	virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV support
	//}}AFX_VIRTUAL

// Implementation
protected:
	int lastsel;

	void newResult();
	void selResult();
	void logFailure(DWORD err, DWORD size, CDataListBox & list);
	void multiStringToControl(LPCTSTR source, LPCTSTR ms, CDataListBox & list);
	void fillDevice();
	BOOL expandText(LPCTSTR s, CDataListBox & list, DWORD & size);

	// Generated message map functions
	//{{AFX_MSG(CQueryDosDevice)
	afx_msg void OnSelchangeList();
	afx_msg void OnSelchangeDevice();
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()

};

⌨️ 快捷键说明

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