if( RegOpenKeyEx( HKEY_LOCAL_MACHINE, TEXT("SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\Uninstall"), 0, KEY_READ|KEY_WOW64_32KEY, &hTestKey) == ERROR_SUCCESS ) { printf("RegOpenKeyEx ---- >Success"); } else { printf("RegOpenKeyEx ---- >Failed %d",GetLastError()); }
KEY_WOW64_32KEY
Windows 2000
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)