From 6dd1154d678f876f9ed24ed4da42a8f21daf73ba Mon Sep 17 00:00:00 2001 From: Thomas Bluemel Date: Sun, 8 May 2005 21:55:28 +0000 Subject: [PATCH] Patch by tinus: use the right access mode. fixes bug 627 svn path=/trunk/; revision=15155 --- reactos/subsys/system/vmwinst/vmwinst.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/reactos/subsys/system/vmwinst/vmwinst.c b/reactos/subsys/system/vmwinst/vmwinst.c index 1405c2b7c26..bcc88631020 100644 --- a/reactos/subsys/system/vmwinst/vmwinst.c +++ b/reactos/subsys/system/vmwinst/vmwinst.c @@ -314,7 +314,7 @@ SaveResolutionSettings(DWORD ResX, DWORD ResY, DWORD ColDepth) if(RegOpenKeyEx(HKEY_LOCAL_MACHINE, L"SYSTEM\\CurrentControlSet\\Hardware Profiles\\Current\\System\\CurrentControlSet\\Services\\vmx_svga\\Device0", - 0, KEY_QUERY_VALUE, &hReg) != ERROR_SUCCESS) + 0, KEY_SET_VALUE, &hReg) != ERROR_SUCCESS) { return FALSE; }