Changeset 89219 in vbox for trunk/src/VBox/Frontends
- Timestamp:
- May 21, 2021 12:12:38 PM (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Frontends/VBoxHeadless/VBoxHeadless.cpp
r89108 r89219 870 870 (unsigned long)lParam)); 871 871 872 /* do not block windows session termination */ 873 lResult = TRUE; 874 break; 875 876 case WM_ENDSESSION: 877 lResult = 0; 878 LogRel(("WM_ENDSESSION:%s%s%s%s%s (%s/0x%08lx)\n", 879 lParam == 0 ? " shutdown" : "", 880 lParam & ENDSESSION_CRITICAL ? " critical" : "", 881 lParam & ENDSESSION_LOGOFF ? " logoff" : "", 882 lParam & ENDSESSION_CLOSEAPP ? " close" : "", 883 wParam == FALSE ? " cancelled" : "", 884 wParam ? "TRUE" : "FALSE", 885 (unsigned long)lParam)); 886 if (wParam == FALSE) 887 break; 888 872 889 /* tell the user what we are doing */ 873 890 ::ShutdownBlockReasonCreate(hwnd, L"Waiting for VM to terminate"); … … 877 894 gEventQ->interruptEventQueueProcessing(); 878 895 879 /* do not block windows session termination */880 lResult = TRUE;881 break;882 883 case WM_ENDSESSION:884 896 if (g_hCanQuit != NIL_RTSEMEVENT) 885 897 { … … 896 908 LogRel(("VBoxHeadless: WM_ENDSESSION: cannot wait for VM termination\n")); 897 909 } 898 lResult = TRUE;899 910 break; 900 911
Note:
See TracChangeset
for help on using the changeset viewer.