# Function Reference

# _WinAPI_ShellQueryUserNotificationState

Checks the state of the computer for the current user

#include <WinAPIShellEx.au3>
_WinAPI_ShellQueryUserNotificationState ( )

## Return Value

Success: | The current computer state ($QUNS_*).
Failure: | 0 and sets the @error flag to non-zero, @extended flag may contain the HRESULT error code.

## Remarks

This function requires Windows Vista or later.

## See Also

Search SHQueryUserNotificationState in MSDN Library.