📄 fileguardapp.h
字号:
// FileGuard.h : main header file for the FILEGUARD application
//
#if !defined(AFX_FILEGUARD_H__3DC691D2_9998_11D5_A1DA_00E006F27970__INCLUDED_)
#define AFX_FILEGUARD_H__3DC691D2_9998_11D5_A1DA_00E006F27970__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 "FGCommandLineInfo.h"
#include "..\hookshr\KProtectedFileList.h"
#ifdef _DEBUG
#define DEVICE_PATH "\\\\.\\E:\\GZY\\MYDOC\\FGHOOK\\FGHOOK.VXD"
//#define DEVICE_PATH "\\\\.\\..\\..\\FGHOOK\\FGHOOK.VXD"
#define HELP_PATH "..\\..\\FGHelp\\FGHelp.chm::/StartPage.htm"
#else
#define DEVICE_PATH "\\\\.\\E:\\GZY\\MYDOC\\FGHOOK\\FGHOOK.VXD"
//#define DEVICE_PATH "\\\\.\\FGHOOK.VXD"
#define HELP_PATH "FGHelp.chm::/StartPage.htm"
#endif
extern HWND hPrevInstanceWnd;
extern KProtectedFileList protFileList;
extern CString strInstallDir;
//extern char lpszDevicePath[];
extern TCHAR lpszIniFilePath[];
extern BOOL bActSysUp;
extern BOOL bActAppUp;
extern BOOL bProtectSecretly;
extern BOOL bRegKey;
extern BOOL bWarning;
extern BOOL bLogin;
extern BOOL bProtectSelf;
extern BOOL bSysStartUp;
extern UINT maxBakNum;
extern HANDLE hWatcher;
extern CWinThread *pThisWatcher;
/////////////////////////////////////////////////////////////////////////////
// CFileGuardApp:
// See FileGuard.cpp for the implementation of this class
//
class CFileGuardApp : public CWinApp
{
public:
void WriteProfile();
void GetProfile();
void PreExitProgram();
void OnProperties(CFGCommandLineInfo *pCmdInfo); //return a handle of device if start protection, else return NULL;
CFileGuardApp();
// Overrides
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CFileGuardApp)
public:
virtual BOOL InitInstance();
virtual int ExitInstance();
//}}AFX_VIRTUAL
// Implementation
//{{AFX_MSG(CFileGuardApp)
afx_msg void OnAppAbout();
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
};
extern CFileGuardApp theApp;
/////////////////////////////////////////////////////////////////////////////
//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_FILEGUARD_H__3DC691D2_9998_11D5_A1DA_00E006F27970__INCLUDED_)
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -