📄 networkifce1.h
字号:
#if !defined(AFX_NETWORKIFCE1_H__224D5D21_D5A4_4E9F_B382_D480A22DF18A__INCLUDED_)
#define AFX_NETWORKIFCE1_H__224D5D21_D5A4_4E9F_B382_D480A22DF18A__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// NetworkIfce1.h : header file
//
#include <afxdlgs.h>
#include <afxcmn.h>
#include "resource.h"
#include "ConfigGen.h"
/////////////////////////////////////////////////////////////////////////////
// NetworkIfce1 dialog
class NetworkIfce1 : public CPropertyPage
{
DECLARE_DYNCREATE(NetworkIfce1)
// Construction
public:
NetworkIfce1();
~NetworkIfce1();
void InitNWIfce1DefaultSettings();
void PopulateNWIfce1Settings();
bool StoreNIfce1SourceData(network_ifce *nw_ifce);
bool LoadNIfce1SourceData(network_ifce *nw_ifce);
void DisableNI1Entries(bool state);
// Dialog Data
//{{AFX_DATA(NetworkIfce1)
enum { IDD = IDD_PROPPAGE_NIC1 };
// NOTE - ClassWizard will add data members here.
// DO NOT EDIT what you see in these blocks of generated code !
//}}AFX_DATA
// Overrides
// ClassWizard generate virtual function overrides
//{{AFX_VIRTUAL(NetworkIfce1)
public:
virtual void OnCancel();
protected:
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
//}}AFX_VIRTUAL
// Implementation
protected:
// Generated message map functions
//{{AFX_MSG(NetworkIfce1)
afx_msg void OnNic1CheckDhcp();
afx_msg void OnFieldchangedNic1Ipaddress(NMHDR* pNMHDR, LRESULT* pResult);
afx_msg void OnFieldchangedNic1IpaddressSubnetMask(NMHDR* pNMHDR, LRESULT* pResult);
afx_msg void OnFieldchangedNic1IpaddressGateway(NMHDR* pNMHDR, LRESULT* pResult);
afx_msg void OnKillfocusNic1MacAddress();
afx_msg void OnKillfocusEditNic1RcvBufs();
afx_msg void OnKillfocusEditNic1RcvSize();
afx_msg void OnKillfocusEditNic1XmitBufs();
afx_msg void OnKillfocusEditNic1XmitSize();
afx_msg void OnChangeNic1MacAddress();
afx_msg void OnChangeEditNic1RcvBufs();
afx_msg void OnChangeEditNic1RcvSize();
afx_msg void OnChangeEditNic1XmitBufs();
afx_msg void OnChangeEditNic1XmitSize();
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
char m_mac_addr[32];
DWORD m_ip_addr;
DWORD m_subnet_mask;
DWORD m_gateway;
int m_num_recv_buffers;
int m_recv_buf_size;
int m_num_xmit_buffers;
int m_xmit_buf_size;
bool m_use_dhcp;
};
//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_NETWORKIFCE1_H__224D5D21_D5A4_4E9F_B382_D480A22DF18A__INCLUDED_)
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -