40 trace(
"main_window_procA: Sleeping for %lu ms\n",
wparam);
46 trace(
"main_window_procA: Returning WM_NULL with parameter %08lx\n",
lparam);
87 ret = broadcast( 0x80000000, &recips,
WM_NULL, 0, 0 );
90 win_skip(
"%s is not implemented\n", functionname);
98 ret = broadcast( 0x80000000, &recips,
WM_NULL, 0, 0 );
108 ok(0,
"Returned: %d\n",
ret);
114 ok(0,
"Returned: %d\n",
ret);
120 ok(0,
"Returned: %d\n",
ret);
126 ok(0,
"Returned: %d\n",
ret);
170 ok(0,
"Returned: %d\n",
ret);
176 ok(0,
"Returned: %d\n",
ret);
182 ok(0,
"Returned: %d\n",
ret);
188 ok(0,
"Returned: %d\n",
ret);
209 trace(
"Running BroadcastSystemMessageA tests\n");
212 trace(
"Running BroadcastSystemMessageW tests\n");
215 trace(
"Running BroadcastSystemMessageExA tests\n");
218 trace(
"Running BroadcastSystemMessageExW tests\n");
LONG(WINAPI * PBROADCAST)(DWORD, LPDWORD, UINT, WPARAM, LPARAM)
static BOOL init_procs(void)
LONG(WINAPI * PBROADCASTEX)(DWORD, LPDWORD, UINT, WPARAM, LPARAM, PBSMINFO)
static void test_parametersEx(PBROADCASTEX broadcastex)
static LRESULT WINAPI main_window_procA(HWND hwnd, UINT msg, WPARAM wparam, LPARAM lparam)
#define BSF_NOTIMEOUTIFNOTHUNG
#define ERROR_CALL_NOT_IMPLEMENTED
#define ERROR_INVALID_PARAMETER
HMODULE WINAPI DECLSPEC_HOTPATCH GetModuleHandleA(LPCSTR lpModuleName)
static void test_parameters(void)
DWORD WINAPI WaitForSingleObject(IN HANDLE hHandle, IN DWORD dwMilliseconds)
BOOL WINAPI DECLSPEC_HOTPATCH PulseEvent(IN HANDLE hEvent)
HANDLE WINAPI DECLSPEC_HOTPATCH CreateEventA(IN LPSECURITY_ATTRIBUTES lpEventAttributes OPTIONAL, IN BOOL bManualReset, IN BOOL bInitialState, IN LPCSTR lpName OPTIONAL)
BOOL WINAPI DECLSPEC_HOTPATCH SetEvent(IN HANDLE hEvent)
LONG WINAPI BroadcastSystemMessageExW(DWORD dwflags, LPDWORD lpdwRecipients, UINT uiMessage, WPARAM wParam, LPARAM lParam, PBSMINFO pBSMInfo)
LONG WINAPI BroadcastSystemMessageA(DWORD dwFlags, LPDWORD lpdwRecipients, UINT uiMessage, WPARAM wParam, LPARAM lParam)
LONG WINAPI BroadcastSystemMessageExA(DWORD dwflags, LPDWORD lpdwRecipients, UINT uiMessage, WPARAM wParam, LPARAM lParam, PBSMINFO pBSMInfo)
LONG WINAPI BroadcastSystemMessageW(DWORD dwFlags, LPDWORD lpdwRecipients, UINT uiMessage, WPARAM wParam, LPARAM lParam)
DWORD WINAPI GetLastError(void)
HGDIOBJ WINAPI GetStockObject(_In_ int)
HWND WINAPI CreateWindowExA(_In_ DWORD dwExStyle, _In_opt_ LPCSTR lpClassName, _In_opt_ LPCSTR lpWindowName, _In_ DWORD dwStyle, _In_ int X, _In_ int Y, _In_ int nWidth, _In_ int nHeight, _In_opt_ HWND hWndParent, _In_opt_ HMENU hMenu, _In_opt_ HINSTANCE hInstance, _In_opt_ LPVOID lpParam)
LRESULT WINAPI DefWindowProcA(_In_ HWND, _In_ UINT, _In_ WPARAM, _In_ LPARAM)
ATOM WINAPI RegisterClassA(_In_ CONST WNDCLASSA *)
#define BROADCAST_QUERY_DENY
HCURSOR WINAPI LoadCursorA(_In_opt_ HINSTANCE, _In_ LPCSTR)