0
|
1 |
// Copyright (c) 2001-2009 Nokia Corporation and/or its subsidiary(-ies).
|
|
2 |
// All rights reserved.
|
|
3 |
// This component and the accompanying materials are made available
|
|
4 |
// under the terms of the License "Eclipse Public License v1.0"
|
|
5 |
// which accompanies this distribution, and is available
|
|
6 |
// at the URL "http://www.eclipse.org/legal/epl-v10.html".
|
|
7 |
//
|
|
8 |
// Initial Contributors:
|
|
9 |
// Nokia Corporation - initial contribution.
|
|
10 |
//
|
|
11 |
// Contributors:
|
|
12 |
//
|
|
13 |
// Description:
|
|
14 |
// t_usb_winDlg.h : header file
|
|
15 |
//
|
|
16 |
|
|
17 |
#if !defined(AFX_T_USB_WINDLG_H__D718CC3F_C865_4D1E_BAA3_704E34073BD4__INCLUDED_)
|
|
18 |
#define AFX_T_USB_WINDLG_H__D718CC3F_C865_4D1E_BAA3_704E34073BD4__INCLUDED_
|
|
19 |
|
|
20 |
#if _MSC_VER > 1000
|
|
21 |
#pragma once
|
|
22 |
#endif // _MSC_VER > 1000
|
|
23 |
|
|
24 |
//#include "mdlsmain.h"
|
|
25 |
|
|
26 |
/////////////////////////////////////////////////////////////////////////////
|
|
27 |
// CT_usb_winDlg dialog
|
|
28 |
|
|
29 |
class CT_usb_winDlg : public CDialog
|
|
30 |
{
|
|
31 |
// Construction
|
|
32 |
public:
|
|
33 |
CT_usb_winDlg(CWnd* pParent = NULL); // standard constructor
|
|
34 |
|
|
35 |
// Dialog Data
|
|
36 |
//{{AFX_DATA(CT_usb_winDlg)
|
|
37 |
enum { IDD = IDD_T_USB_WIN_DIALOG };
|
|
38 |
CEdit m_text1;
|
|
39 |
//}}AFX_DATA
|
|
40 |
|
|
41 |
// ClassWizard generated virtual function overrides
|
|
42 |
//{{AFX_VIRTUAL(CT_usb_winDlg)
|
|
43 |
protected:
|
|
44 |
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
|
|
45 |
//}}AFX_VIRTUAL
|
|
46 |
|
|
47 |
// Implementation
|
|
48 |
protected:
|
|
49 |
HICON m_hIcon;
|
|
50 |
CFont m_font;
|
|
51 |
HDEVNOTIFY m_DevNotify;
|
|
52 |
|
|
53 |
void DisplayHello();
|
|
54 |
void OutputString(const char *s);
|
|
55 |
BOOLEAN CT_usb_winDlg::RegisterDevNotify(const GUID *InterfaceClassGuid,HDEVNOTIFY *hDevNotify);
|
|
56 |
|
|
57 |
// Generated message map functions
|
|
58 |
//{{AFX_MSG(CT_usb_winDlg)
|
|
59 |
virtual BOOL OnInitDialog();
|
|
60 |
afx_msg void OnSysCommand(UINT nID, LPARAM lParam);
|
|
61 |
afx_msg void OnClose();
|
|
62 |
afx_msg LRESULT OnUserMessage(WPARAM wParam, LPARAM lParam);
|
|
63 |
afx_msg void OnDestroy();
|
|
64 |
afx_msg BOOL OnDeviceChange( UINT nEventType, DWORD dwData );
|
|
65 |
//}}AFX_MSG
|
|
66 |
DECLARE_MESSAGE_MAP()
|
|
67 |
};
|
|
68 |
|
|
69 |
//{{AFX_INSERT_LOCATION}}
|
|
70 |
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
|
|
71 |
|
|
72 |
#endif // !defined(AFX_T_USB_WINDLG_H__D718CC3F_C865_4D1E_BAA3_704E34073BD4__INCLUDED_)
|