Checks the state of the computer for the current user
#include <WinAPIShellEx.au3>
_WinAPI_ShellQueryUserNotificationState ( )
Success: | The current computer state ($QUNS_*). |
Failure: | 0 and sets the @error flag to non-zero, @extended flag may contain the HRESULT error code. |
This function requires Windows Vista or later.
Search SHQueryUserNotificationState in MSDN Library.