Moin phXql,
Zitat von
ExitWindowsEx - Remarks:
Therefore, if you are not the interactive user, the function can succeed without actually shutting down the computer. If you are not the interactive user, use the InitiateSystemShutdown or InitiateSystemShutdownEx function.