mirror of
https://github.com/reactos/reactos.git
synced 2024-12-28 10:04:49 +00:00
Patch by tinus: use the right access mode. fixes bug 627
svn path=/trunk/; revision=15155
This commit is contained in:
parent
a2d9c4e1e9
commit
6dd1154d67
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue