|
@@ -38,14 +38,6 @@
|
|
|
#include "mod_ResourceWatcher.h"
|
|
#include "mod_ResourceWatcher.h"
|
|
|
#include "ResourceWatcher_UserCode.h"
|
|
#include "ResourceWatcher_UserCode.h"
|
|
|
|
|
|
|
|
-#ifdef RVC_OS_WIN
|
|
|
|
|
-#pragma comment(lib, "shell32.lib")
|
|
|
|
|
-#pragma comment(lib, "Wintrust.lib")
|
|
|
|
|
-#pragma comment(lib, "crypt32.lib")
|
|
|
|
|
-#pragma comment(lib, "Gdi32.lib")
|
|
|
|
|
-#pragma comment(lib, "User32.lib")
|
|
|
|
|
-#endif // RVC_OS_WIN
|
|
|
|
|
-
|
|
|
|
|
using namespace HealthManager;
|
|
using namespace HealthManager;
|
|
|
|
|
|
|
|
void ResourceWatcherServiceSession::Handle_GetDevInfo(
|
|
void ResourceWatcherServiceSession::Handle_GetDevInfo(
|
|
@@ -464,6 +456,7 @@ ErrorCodeEnum SetFileExecutePriviledge(LPCTSTR lpcszDirOrFilePath)
|
|
|
return result;
|
|
return result;
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
|
|
+//TODO: CrossPlaform [Gifur@2025630]
|
|
|
static int IsFileExists(const char* pfilename)
|
|
static int IsFileExists(const char* pfilename)
|
|
|
{
|
|
{
|
|
|
int iRet = -1;
|
|
int iRet = -1;
|