Changeset 39592 in vbox for trunk/src/VBox/Additions/common/VBoxService/VBoxServiceVMInfo-win.cpp
- Timestamp:
- Dec 13, 2011 8:52:27 AM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Additions/common/VBoxService/VBoxServiceVMInfo-win.cpp
r39280 r39592 564 564 if (VBoxServiceVMInfoWinIsLoggedIn(&UserInfo, &paSessions[i])) 565 565 { 566 VBoxServiceVerbose(4, "VMInfo/Users: Handling user=%ls, domain=%ls, package=%ls\n", 567 pUserInfo[i].wszUser, pUserInfo[i].wszLogonDomain, pUserInfo[i].wszAuthenticationPackage); 568 569 /* Retrieve assigned processes of current session. */ 566 570 uint32_t cSessionProcs = VBoxServiceVMInfoWinSessionHasProcesses(&paSessions[i], paProcs, cProcs); 567 if (!cSessionProcs) 568 continue; 571 /* Don't return here when current session does not have assigned processes 572 * anymore -- in that case we have to search through the unique users list below 573 * and see if got a stale user/session entry. */ 569 574 570 575 bool fFoundUser = false; … … 606 611 } 607 612 608 VBoxServiceVerbose(3, "VMInfo/Users: Found %u unique logged-in user(s) with processes\n",613 VBoxServiceVerbose(3, "VMInfo/Users: Found %u unique logged-in user(s)\n", 609 614 cUniqueUsers); 610 615
Note:
See TracChangeset
for help on using the changeset viewer.