Mercurial > mm7
comparison mm7_2.cpp @ 27:7fb7febacb46
13.01.13 (for Zipi)
author | Ritor1 |
---|---|
date | Fri, 18 Jan 2013 20:17:38 +0600 |
parents | 34192c501dfe |
children | 5a08b193507f 764abc86ce90 |
comparison
equal
deleted
inserted
replaced
26:34192c501dfe | 27:7fb7febacb46 |
---|---|
13003 v11 = 0; | 13003 v11 = 0; |
13004 v10 = 0; | 13004 v10 = 0; |
13005 hKey = 0; | 13005 hKey = 0; |
13006 phkResult = 0; | 13006 phkResult = 0; |
13007 cbData = 4; | 13007 cbData = 4; |
13008 if ( !RegOpenKeyExA(HKEY_LOCAL_MACHINE, "SOFTWARE", 0, KEY_READ|KEY_WOW64_32KEY, &hKey) ) | 13008 if ( !RegOpenKeyExA(HKEY_LOCAL_MACHINE, "SOFTWARE", 0, KEY_READ|KEY_WOW64_32KEY, &hKey) )// for 64 bit |
13009 { | 13009 { |
13010 if ( !RegCreateKeyExA(hKey, "New World Computing", 0, "", 0, 0xF003Fu, 0, &phkResult, &dwDisposition) ) | 13010 if ( !RegCreateKeyExA(hKey, "New World Computing", 0, "", 0, 0xF003Fu, 0, &phkResult, &dwDisposition) ) |
13011 { | 13011 { |
13012 if ( !RegCreateKeyExA(phkResult, "Might and Magic VII", 0, "", 0, 0xF003Fu, 0, &v10, &dwDisposition) ) | 13012 if ( !RegCreateKeyExA(phkResult, "Might and Magic VII", 0, "", 0, 0xF003Fu, 0, &v10, &dwDisposition) ) |
13013 { | 13013 { |