📄 winipcfgdlg.h
字号:
// winipcfgDlg.h : header file
//
#pragma once
#include "afxwin.h"
#include "check.h"
// CWinIPCfgDlg dialog
class CWinIPCfgDlg : public CDialog
{
// Construction
public:
CWinIPCfgDlg(CWnd* pParent = NULL); // standard constructor
// Dialog Data
enum { IDD = IDD_WINIPCFG_DIALOG };
protected:
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
// Implementation
protected:
HICON m_hIcon;
HICON m_hIconSmall;
// Generated message map functions
virtual BOOL OnInitDialog();
afx_msg void OnSysCommand(UINT nID, LPARAM lParam);
afx_msg void OnPaint();
afx_msg HCURSOR OnQueryDragIcon();
DECLARE_MESSAGE_MAP()
public:
CStatic m_textHostName;
CStatic m_textDNSServer;
afx_msg void OnBnClickedButtonDNSServers();
CStatic m_editNodeType;
CStatic m_textNetBIOSScope;
CCheck m_checkIPRouting;
CCheck m_checkNetBIOSResolution;
CCheck m_checkWINSProxy;
CComboBox m_cbNetCard;
CStatic m_textAdapterAddress;
CStatic m_textIPAddress;
CStatic m_textSubnetMask;
CStatic m_textGateway;
CStatic m_textType;
CStatic m_textDHCPServer;
CStatic m_textWINSPrimary;
CStatic m_textWINSSecondary;
CStatic m_textLeaseObtained;
CStatic m_textLeaseExpires;
afx_msg void OnBnClickedRelease();
afx_msg void OnBnClickedReleaseall();
afx_msg void OnBnClickedRenew();
afx_msg void OnBnClickedRenewall();
protected:
virtual void OnOK();
public:
afx_msg void OnDestroy();
afx_msg void OnCbnSelchangeComboNetcard();
int m_nDNSPtr;
CStringList m_slDNS;
BYTE *m_byteAdapterBuf;
void GetNICs(void);
void CleanupNICs(void);
};
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -