Changeset 36338 in vbox
- Timestamp:
- Mar 22, 2011 10:57:01 AM (14 years ago)
- svn:sync-xref-src-repo-rev:
- 70672
- Location:
- trunk/src/VBox/Additions/common/VBoxService
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Additions/common/VBoxService/VBoxService-win.cpp
r36331 r36338 309 309 &pBuiltinUsersSID)) 310 310 { 311 /**@todo r=bird: rc = RTErrConvertFromWin32(GetLastError()); ?*/ 312 VBoxServiceError("AllocateAndInitializeSid: Error %u\n", GetLastError()); 311 rc = RTErrConvertFromWin32(GetLastError()); 313 312 } 314 313 else … … 352 351 } 353 352 } 354 /**@todo r=bird: else vboxServiceWinSetStatus(SERVICE_STOPPED, 0); ? */ 353 else 354 vboxServiceWinSetStatus(SERVICE_STOPPED, 0); 355 355 356 356 if (RT_FAILURE(rc)) … … 390 390 VBoxServiceVerbose(2, "Control handler: Control=%#x\n", dwControl); 391 391 #else 392 VBoxServiceVerbose(2, "Control handler: Control=%#x EventType=%#x\n", dwControl, dwEventType);392 VBoxServiceVerbose(2, "Control handler: Control=%#x, EventType=%#x\n", dwControl, dwEventType); 393 393 #endif 394 394 … … 407 407 if (RT_FAILURE(rc2)) 408 408 rcRet = ERROR_GEN_FAILURE; 409 else 410 { 411 rc2 = VBoxServiceReportStatus(VBoxGuestFacilityStatus_Terminated); 412 AssertRC(rc2); 413 } 409 414 410 415 vboxServiceWinSetStatus(SERVICE_STOPPED, 0); -
trunk/src/VBox/Additions/common/VBoxService/VBoxService.cpp
r36331 r36338 47 47 #include <iprt/thread.h> 48 48 49 #include <VBox/VBoxGuestLib.h>50 49 #include <VBox/log.h> 51 50 … … 246 245 */ 247 246 static VBoxGuestFacilityStatus s_enmLastStatus = VBoxGuestFacilityStatus_Inactive; 247 VBoxServiceVerbose(4, "Setting VBoxService status to %u\n", enmStatus); 248 248 if (s_enmLastStatus != VBoxGuestFacilityStatus_Failed) 249 249 { -
trunk/src/VBox/Additions/common/VBoxService/VBoxServiceInternal.h
r36331 r36338 27 27 #include <iprt/list.h> 28 28 #include <iprt/critsect.h> 29 30 #include <VBox/VBoxGuestLib.h> 29 31 30 32 /** … … 278 280 extern int VBoxServiceStopServices(void); 279 281 extern void VBoxServiceMainWait(void); 282 extern int VBoxServiceReportStatus(VBoxGuestFacilityStatus enmStatus); 280 283 #ifdef RT_OS_WINDOWS 281 284 extern RTEXITCODE VBoxServiceWinInstall(void);
Note:
See TracChangeset
for help on using the changeset viewer.