Changeset 66280 in vbox for trunk/src/VBox/Main
- Timestamp:
- Mar 28, 2017 7:28:24 AM (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Main/src-all/win/VBoxProxyStub.c
r66279 r66280 1065 1065 if (pState->fUpdate) 1066 1066 { 1067 HKEY hkeyServiceExe; 1068 1067 1069 vbpsCreateRegKeyWithDefaultValueAA(pState, hkeyAppIds, pszAppId, pszDescription, __LINE__); 1068 1070 … … 1070 1072 { 1071 1073 char szModule[MAX_PATH + 2]; 1074 HKEY hkeyApp; 1072 1075 size_t len = RTStrNLen(pszModuleName, MAX_PATH); 1073 1076 Assert(len); … … 1077 1080 szModule[len - 4] = '\0'; 1078 1081 1079 HKEY hkeyApp;1080 1082 rc = RegOpenKeyExA(hkeyAppIds, pszAppId, 0 /*fOptions*/, pState->fSamBoth, &hkeyApp); 1081 1083 if (rc == ERROR_FILE_NOT_FOUND) … … 1088 1090 vbpsCreateRegKeyWithDefaultValueAA(pState, hkeyAppIds, pszModuleName, "", __LINE__); 1089 1091 1090 HKEY hkeyServiceExe;1091 1092 rc = RegOpenKeyExA(hkeyAppIds, pszModuleName, 0 /*fOptions*/, pState->fSamBoth, &hkeyServiceExe); 1092 1093 if (rc == ERROR_FILE_NOT_FOUND)
Note:
See TracChangeset
for help on using the changeset viewer.