www.pudn.com > FileGuard.zip > FGDevice.h
//////////////////////////////////////////////////////////////////////////// // //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