Changelog:
Shachar Shemesh <winecode@sun.consumer.org.il>
programs/uninstaller/main.c
* Convert the "RegOpenKey" to "RegCreateKey".
Index: programs/uninstaller/main.c =================================================================== RCS file: /home/sun/sources/cvs/wine/programs/uninstaller/main.c,v retrieving revision 1.10 diff -u -r1.10 main.c --- programs/uninstaller/main.c 5 Jul 2002 21:23:54 -0000 1.10 +++ programs/uninstaller/main.c 31 Jan 2003 06:18:34 -0000 @@ -196,8 +196,9 @@ numentries = 0; oldsel = -1; - if ( RegOpenKeyEx(HKEY_LOCAL_MACHINE, REGSTR_PATH_UNINSTALL, - 0, KEY_READ, &hkeyUninst) != ERROR_SUCCESS ) + if ( RegCreateKeyEx(HKEY_LOCAL_MACHINE, REGSTR_PATH_UNINSTALL, + 0, NULL, REG_OPTION_NON_VOLATILE, KEY_READ, + NULL, &hkeyUninst, NULL) != ERROR_SUCCESS ) { MessageBox(0, "Uninstall registry key not available (yet), nothing to do !", appname, MB_OK); return 0;