You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
staticauto p = static_cast<decltype(&WinStationGetLoggedOnCount)>((void*)GetProcAddress(GetModuleHandle(L"winsta.dll"), "WinStationGetLoggedOnCount"));
842
+
if (p)
843
+
returnp(pUserSessions, pDeviceSessions);
844
+
845
+
// fall-back
846
+
returnFALSE;
847
+
}
848
+
849
+
staticboolProceedWithShutdown(DWORD flags)
850
+
{
851
+
// this logic is inspired by user32!DisplayExitWindowsWarnings function (called from ExitWindowsEx)
0 commit comments