fgdevice.h

来自「文件加密的过滤驱动程序源代码.」· C头文件 代码 · 共 27 行

H
27
字号
////////////////////////////////////////////////////////////////////////////
//
//FGDevice.h

#if !defined(FG_FGDEVICE_H_1_1)
#define FG_FGDEVICE_H_1_1

#include "..\HookShr\KProtectedFileList.h"

//Function used to communication with device:
extern HANDLE hDevice;
extern BOOL bIsHookInstalled;

BOOL LoadDevice(LPCTSTR lpszDevicePath);
BOOL UnloadDevice();
BOOL InstallHook();
BOOL UninstallHook();
BOOL DeviceReadProtectedFileInfo(LPCTSTR lpszIniPath);
BOOL AddProtectedFile(LPCTSTR lpszProtectedFilePath, WORD protectionType);
BOOL RemoveProtectedFile(LPCTSTR lpszProtectedFilePath);
BOOL DeviceFlushProtectedFileInfo();
BOOL SendExtraInfo();
void DeviceErrorHandler(unsigned int err, int severity=1);
BOOL SetDeviceBusy(BOOL busy);

#endif

⌨️ 快捷键说明

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