Mercurial > mm7
comparison mm7_2.cpp @ 25:a32303569c42
18.01.13 (64 bit)
author | Ritor1 |
---|---|
date | Fri, 18 Jan 2013 20:15:30 +0600 |
parents | 8e33efd39355 |
children | 34192c501dfe |
comparison
equal
deleted
inserted
replaced
21:5070f4343e0e | 25:a32303569c42 |
---|---|
13025 v11 = 0; | 13025 v11 = 0; |
13026 v10 = 0; | 13026 v10 = 0; |
13027 hKey = 0; | 13027 hKey = 0; |
13028 phkResult = 0; | 13028 phkResult = 0; |
13029 cbData = 4; | 13029 cbData = 4; |
13030 if ( !RegOpenKeyExA(HKEY_LOCAL_MACHINE, "SOFTWARE", 0, 0x2001Fu, &hKey) ) | 13030 if ( !RegOpenKeyExA(HKEY_LOCAL_MACHINE, "SOFTWARE", 0, KEY_READ|KEY_WOW64_32KEY, &hKey) ) |
13031 { | 13031 { |
13032 if ( !RegCreateKeyExA(hKey, "New World Computing", 0, "", 0, 0xF003Fu, 0, &phkResult, &dwDisposition) ) | 13032 if ( !RegCreateKeyExA(hKey, "New World Computing", 0, "", 0, 0xF003Fu, 0, &phkResult, &dwDisposition) ) |
13033 { | 13033 { |
13034 if ( !RegCreateKeyExA(phkResult, "Might and Magic VII", 0, "", 0, 0xF003Fu, 0, &v10, &dwDisposition) ) | 13034 if ( !RegCreateKeyExA(phkResult, "Might and Magic VII", 0, "", 0, 0xF003Fu, 0, &v10, &dwDisposition) ) |
13035 { | 13035 { |