# SHQueryUserNotificationState

```csharp
[DllImport("shell32.dll")]
public static extern int SHQueryUserNotificationState(
   out QUERY_USER_NOTIFICATION_STATE pquns
);
```

Microsoft documentation: [Link](https://learn.microsoft.com/en-us/windows/win32/api/shellapi/nf-shellapi-shqueryusernotificationstate)
