-
Notifications
You must be signed in to change notification settings - Fork 29
/
DialDlg.h
88 lines (57 loc) · 1.61 KB
/
DialDlg.h
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
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
/*
Free Download Manager Copyright (c) 2003-2016 FreeDownloadManager.ORG
*/
#if !defined(AFX_DIALDLG_H__5FD947D4_2E26_4DFD_BF2E_0E8A3F551C47__INCLUDED_)
#define AFX_DIALDLG_H__5FD947D4_2E26_4DFD_BF2E_0E8A3F551C47__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif
#include <ras.h>
#include <raserror.h>
class CDialDlg : public CDialog
{
public:
static HRASCONN m_hConn;
void Init (struct fsDialInfo *dial);
CDialDlg(CWnd* pParent);
//{{AFX_DATA(CDialDlg)
enum { IDD = IDD_DIAL };
CComboBox m_wndEntries;
CListCtrl m_wndLog;
//}}AFX_DATA
//{{AFX_VIRTUAL(CDialDlg)
protected:
virtual void DoDataExchange(CDataExchange* pDX);
//}}AFX_VIRTUAL
protected:
void PrepareCHMgr(CPoint point);
void Cancel();
void ApplyLanguage();
afx_msg LRESULT OnNeedEndDialog (WPARAM wp, LPARAM);
UINT m_cAgains;
static BOOL m_bNeedStop;
void StartConnect();
UINT m_cAttempts;
void SleepInterval();
void Log (LPCTSTR pszRecord);
RASDIALPARAMS m_rp;
static CDialDlg* m_pThis;
static int m_pThisRefs;
static VOID WINAPI _RasDialFunc (UINT, RASCONNSTATE state, DWORD dwError);
static BOOL m_bInRasFunc;
fsDialInfo* m_dial;
//{{AFX_MSG(CDialDlg)
virtual BOOL OnInitDialog();
virtual void OnCancel();
afx_msg void OnConnect();
afx_msg void OnContextMenu(CWnd* pWnd, CPoint point);
afx_msg void OnWhatisthis();
afx_msg void OnAuto();
afx_msg BOOL OnHelpInfo(HELPINFO* pHelpInfo);
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
private:
static void Release_pThis();
};
//{{AFX_INSERT_LOCATION}}
#endif