Changeset 66926 in vbox for trunk/src/VBox/Main/src-client
- Timestamp:
- May 17, 2017 9:07:37 AM (8 years ago)
- svn:sync-xref-src-repo-rev:
- 115454
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Main/src-client/VirtualBoxClientImpl.cpp
r66902 r66926 93 93 int vrc; 94 94 95 // Get a handle to the SCM database. 95 // Get a handle to the SCM database. 96 96 SC_HANDLE hSCManager = OpenSCManagerW(NULL /*pwszMachineName*/, NULL /*pwszDatabaseName*/, SC_MANAGER_ALL_ACCESS); 97 97 if (hSCManager != NULL) … … 176 176 NULL, // Security flags. 177 177 0, // Authority (for example, Kerberos) 178 0, // Context object 178 0, // Context object 179 179 aService.asOutParam() // pointer to IWbemServices proxy 180 180 ); … … 223 223 return hr; 224 224 } 225 225 226 226 Assert((vtProp.vt & VT_BSTR) == VT_BSTR); 227 227 228 *pOutIsDisabled = RTUtf16Cmp((RTUTF16*)vtProp.bstrVal, 229 (RTUTF16*)L"Disabled") == 0;228 *pOutIsDisabled = RTUtf16Cmp((RTUTF16*)vtProp.bstrVal, 229 (RTUTF16*)L"Disabled") == 0; 230 230 231 231 LogRel(("Service start mode is '%ls' \n", vtProp.bstrVal)); … … 392 392 393 393 if (RTUtf16Cmp(wszBuffer, L"LocalSystem") != 0) 394 return setError(hrcCaller, 394 return setError(hrcCaller, 395 395 tr("VBoxSDS should be run under SYSTEM account, but it started under '%ls' account:\n" 396 396 "Change VBoxSDS Windows Service Logon parameters in Service Control Manager. \n%Rhrc"),
Note:
See TracChangeset
for help on using the changeset viewer.