aboutsummaryrefslogtreecommitdiff
path: root/DriveDialog.h
blob: 088d3a311a991245f4d5b6abd3d0f09e527ef9ac (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34

#ifndef DRIVEDIALOG_H
#define DRIVEDIALOG_H

struct CDriveInfo {
	void Free(void);
	void LoadDriveInfo(char letter);

	char letter;
	BOOL avail;
	HICON icon;
	char *longname;
};

class CDriveDialog : public CDialog {
public:
	CDriveDialog(CWnd* pParent = NULL);

	//{{AFX_VIRTUAL(CDriveDialog)
	virtual void OnOK();
	virtual void OnCancel();
	//}}AFX_VIRTUAL

protected:
	//{{AFX_MSG(CDriveDialog)
	afx_msg BOOL OnInitDialog();
	afx_msg void OnDriveDblClk(NMHDR *pNotifyStruct, LRESULT *result);
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()

	CDriveInfo *driveinfo;
};

#endif