?? autodial.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 + -