shlwapi: Implement SHSendMessageBroadcastA/W.

This commit is contained in:
Detlef Riekenberg 2008-10-13 17:17:04 +02:00 committed by Alexandre Julliard
parent 57122e4daa
commit 680b5df5cf
2 changed files with 26 additions and 2 deletions

View File

@ -3691,6 +3691,30 @@ DWORD WINAPI MLClearMLHInstance(DWORD x)
return 0xabba1247;
}
/*************************************************************************
* @ [SHLWAPI.432]
*
* See SHSendMessageBroadcastW
*
*/
DWORD WINAPI SHSendMessageBroadcastA(UINT uMsg, WPARAM wParam, LPARAM lParam)
{
return SendMessageTimeoutA(HWND_BROADCAST, uMsg, wParam, lParam,
SMTO_ABORTIFHUNG, 2000, NULL);
}
/*************************************************************************
* @ [SHLWAPI.433]
*
* A wrapper for sending Broadcast Messages to all top level Windows
*
*/
DWORD WINAPI SHSendMessageBroadcastW(UINT uMsg, WPARAM wParam, LPARAM lParam)
{
return SendMessageTimeoutW(HWND_BROADCAST, uMsg, wParam, lParam,
SMTO_ABORTIFHUNG, 2000, NULL);
}
/*************************************************************************
* @ [SHLWAPI.436]
*

View File

@ -429,8 +429,8 @@
429 stdcall -noname MLIsMLHInstance(long)
430 stdcall -noname MLSetMLHInstance(long long)
431 stdcall -noname MLClearMLHInstance(long)
432 stub -noname SHSendMessageBroadcastA
433 stub -noname SHSendMessageBroadcastW
432 stdcall -noname SHSendMessageBroadcastA(long long long)
433 stdcall -noname SHSendMessageBroadcastW(long long long)
434 stdcall -noname SendMessageTimeoutWrapW(long long long long long long ptr) user32.SendMessageTimeoutW
435 stdcall -noname CLSIDFromProgIDWrap(wstr ptr) ole32.CLSIDFromProgID
436 stdcall -noname CLSIDFromStringWrap(wstr ptr)