Commit 7ec5f555 authored by Hans Leidekker's avatar Hans Leidekker Committed by Alexandre Julliard

shell32: Add a stub implementation of SHQueryUserNotificationState.

parent d1658260
......@@ -409,6 +409,7 @@
@ stdcall SHPathPrepareForWriteW(long ptr wstr long)
@ stdcall SHQueryRecycleBinA(str ptr)
@ stdcall SHQueryRecycleBinW(wstr ptr)
@ stdcall SHQueryUserNotificationState(ptr)
@ stdcall SHSetLocalizedName(wstr wstr long)
@ stdcall SHSetUnreadMailCountW(wstr long wstr)
@ stdcall SHUpdateRecycleBinIcon()
......
......@@ -1404,3 +1404,13 @@ HRESULT WINAPI SHEnumerateUnreadMailAccountsW(HKEY user, DWORD idx, LPWSTR maila
FIXME("%p %d %p %d: stub\n", user, idx, mailaddress, mailaddresslen);
return E_NOTIMPL;
}
/***********************************************************************
* SHQueryUserNotificationState (SHELL32.@)
*/
HRESULT WINAPI SHQueryUserNotificationState(QUERY_USER_NOTIFICATION_STATE *state)
{
FIXME("%p: stub\n", state);
*state = QUNS_ACCEPTS_NOTIFICATIONS;
return S_OK;
}
......@@ -490,6 +490,19 @@ HRESULT WINAPI SHQueryRecycleBinW(LPCWSTR,LPSHQUERYRBINFO);
* Misc
*/
typedef enum
{
QUNS_NOT_PRESENT = 1,
QUNS_BUSY = 2,
QUNS_RUNNING_D3D_FULL_SCREEN = 3,
QUNS_PRESENTATION_MODE = 4,
QUNS_ACCEPTS_NOTIFICATIONS = 5,
QUNS_QUIET_TIME = 6,
QUNS_APP = 7
} QUERY_USER_NOTIFICATION_STATE;
HRESULT WINAPI SHQueryUserNotificationState(QUERY_USER_NOTIFICATION_STATE*);
typedef enum SHSTOCKICONID
{
SIID_INVALID=-1,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment