@@ -62,20 +62,20 @@ namespace SharedUtil
6262 SString GetMajorVersionString ();
6363
6464 // Get a system registry value
65- SString GetSystemRegistryValue (uint hKey, const SString& strPath, const SString& strName, int * iResult = nullptr );
65+ SString GetSystemRegistryValue (uint hKey, const SString& strPath, const SString& strName);
6666
6767 // Get/set registry values for the current version
6868 void SetRegistryValue (const SString& strPath, const SString& strName, const SString& strValue, bool bFlush = false );
69- SString GetRegistryValue (const SString& strPath, const SString& strName, int * iResult = nullptr );
69+ SString GetRegistryValue (const SString& strPath, const SString& strName);
7070 bool RemoveRegistryKey (const SString& strPath);
7171
7272 // Get/set registry values for a particular version
7373 void SetVersionRegistryValue (const SString& strVersion, const SString& strPath, const SString& strName, const SString& strValue);
74- SString GetVersionRegistryValue (const SString& strVersion, const SString& strPath, const SString& strName, int * iResult = nullptr );
74+ SString GetVersionRegistryValue (const SString& strVersion, const SString& strPath, const SString& strName);
7575
7676 // Get/set registry values for all versions (Common)
7777 void SetCommonRegistryValue (const SString& strPath, const SString& strName, const SString& strValue);
78- SString GetCommonRegistryValue (const SString& strPath, const SString& strName, int * iResult = nullptr );
78+ SString GetCommonRegistryValue (const SString& strPath, const SString& strName);
7979
8080 bool ShellExecuteBlocking (const SString& strAction, const SString& strFile, const SString& strParameters = " " , const SString& strDirectory = " " ,
8181 int nShowCmd = 1 );
0 commit comments