Changeset 45843 in vbox
- Timestamp:
- Apr 30, 2013 3:39:58 PM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Additions/WINNT/VBoxTray/VBoxTray.cpp
r45837 r45843 1084 1084 { 1085 1085 gVBoxSt.hWTSAPIWnd = hWnd; 1086 if (gVBoxSt.pfnWTSRegisterSessionNotification(gVBoxSt.hWTSAPIWnd, NOTIFY_FOR_THIS_SESSION)) 1087 { 1088 vboxStCheckState(); 1089 return VINF_SUCCESS; 1090 } 1091 else 1086 if (!gVBoxSt.pfnWTSRegisterSessionNotification(gVBoxSt.hWTSAPIWnd, NOTIFY_FOR_THIS_SESSION)) 1092 1087 { 1093 1088 DWORD dwErr = GetLastError(); … … 1096 1091 { 1097 1092 gVBoxSt.idDelayedInitTimer = SetTimer(gVBoxSt.hWTSAPIWnd, TIMERID_VBOXTRAY_ST_DELAYED_INIT_TIMER, 500, (TIMERPROC)NULL); 1093 rc = VINF_SUCCESS; 1098 1094 } 1099 rc = RTErrConvertFromWin32(dwErr); 1095 else 1096 rc = RTErrConvertFromWin32(dwErr); 1097 } 1098 1099 if (RT_SUCCESS(rc)) 1100 { 1101 vboxStCheckState(); 1102 return VINF_SUCCESS; 1100 1103 } 1101 1104 }
Note:
See TracChangeset
for help on using the changeset viewer.