Commit 680b5df5 authored by Detlef Riekenberg's avatar Detlef Riekenberg Committed by Alexandre Julliard

shlwapi: Implement SHSendMessageBroadcastA/W.

parent 57122e4d
...@@ -3692,6 +3692,30 @@ DWORD WINAPI MLClearMLHInstance(DWORD x) ...@@ -3692,6 +3692,30 @@ DWORD WINAPI MLClearMLHInstance(DWORD x)
} }
/************************************************************************* /*************************************************************************
* @ [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] * @ [SHLWAPI.436]
* *
* Convert an Unicode string CLSID into a CLSID. * Convert an Unicode string CLSID into a CLSID.
......
...@@ -429,8 +429,8 @@ ...@@ -429,8 +429,8 @@
429 stdcall -noname MLIsMLHInstance(long) 429 stdcall -noname MLIsMLHInstance(long)
430 stdcall -noname MLSetMLHInstance(long long) 430 stdcall -noname MLSetMLHInstance(long long)
431 stdcall -noname MLClearMLHInstance(long) 431 stdcall -noname MLClearMLHInstance(long)
432 stub -noname SHSendMessageBroadcastA 432 stdcall -noname SHSendMessageBroadcastA(long long long)
433 stub -noname SHSendMessageBroadcastW 433 stdcall -noname SHSendMessageBroadcastW(long long long)
434 stdcall -noname SendMessageTimeoutWrapW(long long long long long long ptr) user32.SendMessageTimeoutW 434 stdcall -noname SendMessageTimeoutWrapW(long long long long long long ptr) user32.SendMessageTimeoutW
435 stdcall -noname CLSIDFromProgIDWrap(wstr ptr) ole32.CLSIDFromProgID 435 stdcall -noname CLSIDFromProgIDWrap(wstr ptr) ole32.CLSIDFromProgID
436 stdcall -noname CLSIDFromStringWrap(wstr ptr) 436 stdcall -noname CLSIDFromStringWrap(wstr ptr)
......
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