Shell32SHQueryUserNotificationState Method

Checks the state of the computer for the current user to determine whether sending a notification is appropriate.

Definition

Namespace: DevCase.Win32.NativeMethods
Assembly: DevCase.net48 (in DevCase.net48.dll) Version: 6.0.0.0 (6.0)
XMLNS for XAML: Not mapped to an xmlns.
[DllImportAttribute("Shell32.dll")]
public static HResult SHQueryUserNotificationState(
	out QueryUserNotificationState refState
)

Parameters

refState  QueryUserNotificationState
When this function returns, contains one of the values of the QueryUserNotificationState enumeration.

Return Value

HResult
If this function succeeds, it returns S_OK. Otherwise, it returns an HResult error code.

Remarks

See Also