Zebediah Figura : odbccp32/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: 3e90c9be3ee2253d483918ab6567583c9975b006
URL:    https://source.winehq.org/git/wine.git/?a=commit;h=3e90c9be3ee2253d483918ab6567583c9975b006

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

odbccp32/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/odbccp32/tests/Makefile.in       |  3 +++
 dlls/odbccp32/tests/odbccp32.manifest | 18 ++++++++++++++++++
 dlls/odbccp32/tests/odbccp32.rc       | 22 ++++++++++++++++++++++
 3 files changed, 43 insertions(+)

diff --git a/dlls/odbccp32/tests/Makefile.in b/dlls/odbccp32/tests/Makefile.in
index 912f511..c65292e 100644
--- a/dlls/odbccp32/tests/Makefile.in
+++ b/dlls/odbccp32/tests/Makefile.in
@@ -3,3 +3,6 @@ IMPORTS   = odbccp32 advapi32
 
 C_SRCS = \
 	misc.c
+
+RC_SRCS = \
+	odbccp32.rc
diff --git a/dlls/odbccp32/tests/odbccp32.manifest b/dlls/odbccp32/tests/odbccp32.manifest
new file mode 100644
index 0000000..cd879cc
--- /dev/null
+++ b/dlls/odbccp32/tests/odbccp32.manifest
@@ -0,0 +1,18 @@
+<?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.odbccp32.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/odbccp32/tests/odbccp32.rc b/dlls/odbccp32/tests/odbccp32.rc
new file mode 100644
index 0000000..1529909
--- /dev/null
+++ b/dlls/odbccp32/tests/odbccp32.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: odbccp32.manifest */
+1 RT_MANIFEST odbccp32.manifest




More information about the wine-cvs mailing list