Module: wine
Branch: master
Commit: 71a109f3ff31bda6fa5adab98f16028967a0227e
URL: https://source.winehq.org/git/wine.git/?a=commit;h=71a109f3ff31bda6fa5adab9…
Author: Zebediah Figura <z.figura12(a)gmail.com>
Date: Wed Mar 6 21:10:18 2019 -0600
msvfw32/tests: Set requestedExecutionLevel to asInvoker to prevent registry virtualization.
Signed-off-by: Zebediah Figura <z.figura12(a)gmail.com>
Signed-off-by: Alexandre Julliard <julliard(a)winehq.org>
---
dlls/msvfw32/tests/Makefile.in | 3 +++
dlls/msvfw32/tests/msvfw32.manifest | 16 ++++++++++++++++
dlls/msvfw32/tests/msvfw32.rc | 22 ++++++++++++++++++++++
3 files changed, 41 insertions(+)
diff --git a/dlls/msvfw32/tests/Makefile.in b/dlls/msvfw32/tests/Makefile.in
index 1ae7897..ecb26db 100644
--- a/dlls/msvfw32/tests/Makefile.in
+++ b/dlls/msvfw32/tests/Makefile.in
@@ -4,3 +4,6 @@ IMPORTS = msvfw32 advapi32 gdi32
C_SRCS = \
drawdib.c \
msvfw.c
+
+RC_SRCS = \
+ msvfw32.rc
diff --git a/dlls/msvfw32/tests/msvfw32.manifest b/dlls/msvfw32/tests/msvfw32.manifest
new file mode 100644
index 0000000..69222c1
--- /dev/null
+++ b/dlls/msvfw32/tests/msvfw32.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.msvfw32.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/msvfw32/tests/msvfw32.rc b/dlls/msvfw32/tests/msvfw32.rc
new file mode 100644
index 0000000..463e744
--- /dev/null
+++ b/dlls/msvfw32/tests/msvfw32.rc
@@ -0,0 +1,22 @@
+/*
+ * Copyright 2019 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: msvfw32.manifest */
+1 RT_MANIFEST msvfw32.manifest