Prevent hook helper from running when in UWP mode

This commit is contained in:
Paddy Xu
2017-07-11 23:43:16 +03:00
parent 031803a40e
commit d855e80bdc
5 changed files with 20 additions and 0 deletions

View File

@@ -17,6 +17,7 @@
#include "stdafx.h"
#include "WoW64HookHelper.h"
#include "HelperMethods.h"
#define HELPER_FILE L"\\QuickLook.WoW64HookHelper.exe"
#define RUN_ARG L"033A853A-E4B2-4552-9A91-E88789761C48"
@@ -37,6 +38,9 @@ bool WoW64HookHelper::Launch()
return true;
#endif
if (HelperMethods::IsUWP())
return true;
if (CheckStatus())
return true;