Zebediah Figura : msctf/tests: Set requestedExecutionLevel to asInvoker to prevent virtualization.

Alexandre Julliard julliard at winehq.org
Thu Jun 28 15:55:10 CDT 2018


Module: wine
Branch: master
Commit: e050c24998bc19881ae37ddeaf01a4a51e4434b1
URL:    https://source.winehq.org/git/wine.git/?a=commit;h=e050c24998bc19881ae37ddeaf01a4a51e4434b1

Author: Zebediah Figura <z.figura12 at gmail.com>
Date:   Thu Jun 28 12:33:22 2018 +0200

msctf/tests: Set requestedExecutionLevel to asInvoker to prevent virtualization.

Signed-off-by: Zebediah Figura <z.figura12 at gmail.com>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>

---

 dlls/msctf/tests/Makefile.in    |  3 +++
 dlls/msctf/tests/msctf.manifest | 16 ++++++++++++++++
 dlls/msctf/tests/msctf.rc       | 22 ++++++++++++++++++++++
 3 files changed, 41 insertions(+)

diff --git a/dlls/msctf/tests/Makefile.in b/dlls/msctf/tests/Makefile.in
index b3df05c..2cb119a 100644
--- a/dlls/msctf/tests/Makefile.in
+++ b/dlls/msctf/tests/Makefile.in
@@ -3,3 +3,6 @@ IMPORTS   = ole32 user32
 
 C_SRCS = \
 	inputprocessor.c
+
+RC_SRCS = \
+	msctf.rc
diff --git a/dlls/msctf/tests/msctf.manifest b/dlls/msctf/tests/msctf.manifest
new file mode 100644
index 0000000..fc23c29
--- /dev/null
+++ b/dlls/msctf/tests/msctf.manifest
@@ -0,0 +1,16 @@
+<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
+<assembly xmlns="urn:schemas-microsoft-com:asm.v1" manifestVersion="1.0">
+    <assemblyIdentity
+        type="win32"
+        name="Wine.msctf.Test"
+        version="1.0.0.0"
+        processorArchitecture="*"
+    />
+    <trustInfo xmlns="urn:schemas-microsoft-com:asm.v2">
+        <security>
+            <requestedPrivileges>
+                <requestedExecutionLevel level="asInvoker" />
+            </requestedPrivileges>
+        </security>
+    </trustInfo>
+</assembly>
diff --git a/dlls/msctf/tests/msctf.rc b/dlls/msctf/tests/msctf.rc
new file mode 100644
index 0000000..fcf9f23
--- /dev/null
+++ b/dlls/msctf/tests/msctf.rc
@@ -0,0 +1,22 @@
+/*
+ * Copyright 2018 Zebediah Figura
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License as published by the Free Software Foundation; either
+ * version 2.1 of the License, or (at your option) any later version.
+ *
+ * This library is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this library; if not, write to the Free Software
+ * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
+ */
+
+#include "winuser.h"
+
+/* @makedep: msctf.manifest */
+1 RT_MANIFEST msctf.manifest




More information about the wine-cvs mailing list