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

📄 rasdemodlg.h

📁 远程虚拟拨号程序
💻 H
字号:
// RasDemoDlg.h : header file
//

#if !defined(AFX_RASDEMODLG_H__FD1108C7_7348_11D2_B175_00104B8FD991__INCLUDED_)
#define AFX_RASDEMODLG_H__FD1108C7_7348_11D2_B175_00104B8FD991__INCLUDED_

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

#include "rasClient.h"

/////////////////////////////////////////////////////////////////////////////
// CRasDemoDlg dialog

class CRasDemoDlg : public CDialog
{
// Construction
public:
	CRasDemoDlg(CWnd* pParent = NULL);	// standard constructor

// Dialog Data
	//{{AFX_DATA(CRasDemoDlg)
	enum { IDD = IDD_RASDEMO_DIALOG };
	CComboBox	m_ctrlModem_Combo;
	CString	m_strPasswd;
	CString	m_strModemName;
	CString	m_strStatus;
	CString	m_strPhone;
	CString	m_strUser;
	//}}AFX_DATA

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

// Implementation
protected:
	HICON m_hIcon;
	BOOL m_bUserCancel;

	CRasClient* m_pRas;	

	BOOL DialUpNetwork();
	BOOL FillModemCombo();
	BOOL CreateDialUpEntry();
	void CtrlYield();
	// Generated message map functions
	//{{AFX_MSG(CRasDemoDlg)
	virtual BOOL OnInitDialog();
	afx_msg void OnSysCommand(UINT nID, LPARAM lParam);
	afx_msg void OnPaint();
	afx_msg HCURSOR OnQueryDragIcon();
	afx_msg void OnConnectBtn();
	virtual void OnCancel();
	afx_msg void OnDestroy();
	afx_msg void OnDisconnBtn();
	//}}AFX_MSG 
	DECLARE_MESSAGE_MAP()
};

static DWORD m_dwError = 0;
static DWORD m_dwExtendError = 0;
void CALLBACK rasCallback1(HRASCONN hrasconn, UINT unMsg, RASCONNSTATE rascs, 
						 DWORD dwError, DWORD dwExtendedError);

//{{AFX_INSERT_LOCATION}}
// Microsoft Developer Studio will insert additional declarations immediately before the previous line.

#endif // !defined(AFX_RASDEMODLG_H__FD1108C7_7348_11D2_B175_00104B8FD991__INCLUDED_)

⌨️ 快捷键说明

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