pfwredun.h

来自「用C++编写的」· C头文件 代码 · 共 67 行

H
67
字号
// pfwredun.h : main header file for the PFWREDUN application
//

#if !defined(AFX_PFWREDUN_H__F5B06957_6134_11D4_916F_0050DA3435ED__INCLUDED_)
#define AFX_PFWREDUN_H__F5B06957_6134_11D4_916F_0050DA3435ED__INCLUDED_

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

#ifndef __AFXWIN_H__
	#error include 'stdafx.h' before including this file for PCH
#endif

#include "resource.h"		// main symbols
#include "iphlpapi.h"
/////////////////////////////////////////////////////////////////////////////
// CPfwredunApp:
// See pfwredun.cpp for the implementation of this class
//
#define REDUNDACY_AGENT_STR "Redundancy Agent"
#define REDUNDACYINI        "pfwredun.ini"
#define INIT_STR            "INIT"
#define ATOM_STR            "ATOM"
#define ADAPTERS            "Adapters"
#define SETTINGS            "Settings" 
#define TIME				"Time"	
#define DEFAUL_TIME         "30"
#define DEFAUL_TIME_INT      30
#define SUBNETMASK          "SubnetMask"
#define SUBNETMASK_DEFAULT  "255.255.0.0"

void get_full_name( char *szRedunFile ) ;
class CPfwredunDlg ;
class CPfwredunApp : public CWinApp
{
public:
    CPfwredunDlg *m_predundlg ;

	CPfwredunApp();
    BOOL create_ini_file( ) ;
	BOOL check_mac_address_exist( MIB_IFTABLE *pmib_table , int Index ) ;
// Overrides
	// ClassWizard generated virtual function overrides
	//{{AFX_VIRTUAL(CPfwredunApp)
	public:
	virtual BOOL InitInstance();
	virtual int ExitInstance();
	//}}AFX_VIRTUAL

// Implementation

	//{{AFX_MSG(CPfwredunApp)
		// NOTE - the ClassWizard will add and remove member functions here.
		//    DO NOT EDIT what you see in these blocks of generated code !
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()
};


/////////////////////////////////////////////////////////////////////////////

//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.

#endif // !defined(AFX_PFWREDUN_H__F5B06957_6134_11D4_916F_0050DA3435ED__INCLUDED_)

⌨️ 快捷键说明

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