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

📄 autodial.h

📁 网络自动拨号程序
💻 H
字号:
#if !defined(AFX_AUTODIAL_H__3FBD7F65_C7D5_11D1_B07C_0060083CFB2D__INCLUDED_)
#define AFX_AUTODIAL_H__3FBD7F65_C7D5_11D1_B07C_0060083CFB2D__INCLUDED_

#if _MSC_VER >= 1000
#pragma once
#endif // _MSC_VER >= 1000
// AutoDial.h : header file
//

#include <ras.h>

/////////////////////////////////////////////////////////////////////////////
// CAutoDial dialog

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

// Dialog Data
	//{{AFX_DATA(CAutoDial)
	enum { IDD = IDD_DIALUP };
		// NOTE: the ClassWizard will add data members here
	//}}AFX_DATA

	BOOL Connect( const char *, const char *, const char * );
	void Disconnect( void );

	void GetStatus( char *, int nLimit = 256 );
	void GetStatus( CString& );
	void GetLastError( char *, int nLimit = 256 );
	void GetLastError( CString& );

	BOOL HangupByDialupName( const char * );
	HRASCONN GetConnectionHandle( const char * );

protected:
	BOOL m_bErrorFlag;
	HRASCONN m_hRasConn;
	char m_szDialupName[500];
	int m_nErrorSeconds;

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

// Implementation
protected:

	// Generated message map functions
	//{{AFX_MSG(CAutoDial)
	afx_msg int OnCreate(LPCREATESTRUCT lpCreateStruct);
	afx_msg void OnTimer(UINT nIDEvent);
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()
};

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

#endif // !defined(AFX_AUTODIAL_H__3FBD7F65_C7D5_11D1_B07C_0060083CFB2D__INCLUDED_)

⌨️ 快捷键说明

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