shell32: Add a stub implementation of SHQueryUserNotificationState.

oldstable
Hans Leidekker 2015-08-05 17:14:32 +02:00 committed by Alexandre Julliard
parent d1658260a2
commit 7ec5f555b0
3 changed files with 24 additions and 0 deletions

View File

@ -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()

View File

@ -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;
}

View File

@ -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,