@@ -62,20 +62,20 @@ namespace SharedUtil
62
62
SString GetMajorVersionString ();
63
63
64
64
// 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);
66
66
67
67
// Get/set registry values for the current version
68
68
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);
70
70
bool RemoveRegistryKey (const SString& strPath);
71
71
72
72
// Get/set registry values for a particular version
73
73
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);
75
75
76
76
// Get/set registry values for all versions (Common)
77
77
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);
79
79
80
80
bool ShellExecuteBlocking (const SString& strAction, const SString& strFile, const SString& strParameters = " " , const SString& strDirectory = " " ,
81
81
int nShowCmd = 1 );
0 commit comments