Lines Matching refs:hInstKey
705 HKEY hInstKey = NULL; in LoadMsiLibrary() local
708 if ( ERROR_SUCCESS == RegOpenKeyEx( HKEY_LOCAL_MACHINE, sInstKey, 0, KEY_READ, &hInstKey ) ) in LoadMsiLibrary()
715 if ( ERROR_MORE_DATA == ( nRet = RegQueryValueEx( hInstKey, sInstLocValue, NULL, in LoadMsiLibrary()
722 nRet = RegQueryValueEx( hInstKey, sInstLocValue, NULL, &dwType, in LoadMsiLibrary()
752 HKEY hInstKey = NULL; in GetPathToMSI() local
759 if ( ERROR_SUCCESS == RegOpenKeyEx( HKEY_LOCAL_MACHINE, sInstKey, 0, KEY_READ, &hInstKey ) ) in GetPathToMSI()
764 if ( ERROR_MORE_DATA == ( nRet = RegQueryValueEx( hInstKey, sInstLocValue, NULL, in GetPathToMSI()
771 nRet = RegQueryValueEx( hInstKey, sInstLocValue, NULL, &dwType, in GetPathToMSI()
1218 HKEY hInstKey = NULL; in CheckForUpgrade() local
1220 … if ( ERROR_SUCCESS == RegOpenKeyEx( HKEY_LOCAL_MACHINE, m_pUpgradeKey, 0, KEY_READ, &hInstKey ) ) in CheckForUpgrade()
1225 …se if ( ERROR_SUCCESS == RegOpenKeyEx( HKEY_CURRENT_USER, m_pUpgradeKey, 0, KEY_READ, &hInstKey ) ) in CheckForUpgrade()
1244 …if ( ERROR_SUCCESS == RegQueryValueEx( hInstKey, PRODUCT_VERSION, NULL, NULL, (LPBYTE)sProductVers… in CheckForUpgrade()