KillTimer(NULL, idEvent);
// Eat spurious WM_TIMER messages
- while (pPeekMessage(&msg, hwnd, WM_TIMER, WM_TIMER, PM_REMOVE))
+ while (PeekMessageW(&msg, hwnd, WM_TIMER, WM_TIMER, PM_REMOVE))
;
if (blink_state == BLINK_ON)
{
KillTimer(NULL, blink_timer);
// Eat spurious WM_TIMER messages
- while (pPeekMessage(&msg, s_hwnd, WM_TIMER, WM_TIMER, PM_REMOVE))
+ while (PeekMessageW(&msg, s_hwnd, WM_TIMER, WM_TIMER, PM_REMOVE))
;
blink_timer = 0;
}
s_timed_out = TRUE;
// Eat spurious WM_TIMER messages
- while (pPeekMessage(&msg, hwnd, WM_TIMER, WM_TIMER, PM_REMOVE))
+ while (PeekMessageW(&msg, hwnd, WM_TIMER, WM_TIMER, PM_REMOVE))
;
if (idEvent == s_wait_timer)
s_wait_timer = 0;
static char_u k10[] = {K_SPECIAL, 'k', ';', 0};
#endif
- pGetMessage(&msg, NULL, 0, 0);
+ GetMessageW(&msg, NULL, 0, 0);
#ifdef FEAT_OLE
// Look after OLE Automation commands
{
// Message can't be ours, forward it. Fixes problem with Ultramon
// 3.0.4
- pDispatchMessage(&msg);
+ DispatchMessageW(&msg);
}
else
{
#ifdef MSWIN_FIND_REPLACE
// Don't process messages used by the dialog
- if (s_findrep_hwnd != NULL && pIsDialogMessage(s_findrep_hwnd, &msg))
+ if (s_findrep_hwnd != NULL && IsDialogMessageW(s_findrep_hwnd, &msg))
{
HandleMouseHide(msg.message, msg.lParam);
return;
if (vk != VK_F10 || check_map(k10, State, FALSE, TRUE, FALSE,
NULL, NULL) == NULL)
#endif
- pDispatchMessage(&msg);
+ DispatchMessageW(&msg);
}
/*
MSG msg;
if (!s_busy_processing)
- while (pPeekMessage(&msg, NULL, 0, 0, PM_NOREMOVE)
+ while (PeekMessageW(&msg, NULL, 0, 0, PM_NOREMOVE)
&& !vim_is_input_buf_full())
process_message();
}
KillTimer(NULL, s_wait_timer);
// Eat spurious WM_TIMER messages
- while (pPeekMessage(&msg, s_hwnd, WM_TIMER, WM_TIMER, PM_REMOVE))
+ while (PeekMessageW(&msg, s_hwnd, WM_TIMER, WM_TIMER, PM_REMOVE))
;
s_wait_timer = 0;
}
if (did_add_timer)
break;
# endif
- if (pPeekMessage(&msg, NULL, 0, 0, PM_NOREMOVE))
+ if (PeekMessageW(&msg, NULL, 0, 0, PM_NOREMOVE))
{
process_message();
break;
{
MSG msg;
- while (!*bUserAbort && pPeekMessage(&msg, NULL, 0, 0, PM_REMOVE))
+ while (!*bUserAbort && PeekMessageW(&msg, NULL, 0, 0, PM_REMOVE))
{
- if (!hDlgPrint || !pIsDialogMessage(hDlgPrint, &msg))
+ if (!hDlgPrint || !IsDialogMessageW(hDlgPrint, &msg))
{
TranslateMessage(&msg);
- pDispatchMessage(&msg);
+ DispatchMessageW(&msg);
}
}
return !*bUserAbort;
{
MSG msg;
- while (pPeekMessage(&msg, NULL, 0, 0, PM_REMOVE))
+ while (PeekMessageW(&msg, NULL, 0, 0, PM_REMOVE))
{
TranslateMessage(&msg);
- pDispatchMessage(&msg);
+ DispatchMessageW(&msg);
}
}
{
MSG msg;
- if (pPeekMessage(&msg, (HWND)NULL, 0, 0, PM_REMOVE))
+ if (PeekMessageW(&msg, (HWND)NULL, 0, 0, PM_REMOVE))
{
TranslateMessage(&msg);
- pDispatchMessage(&msg);
+ DispatchMessageW(&msg);
delay = 1;
continue;
}
{
MSG msg;
- if (pPeekMessage(&msg, (HWND)NULL, 0, 0, PM_REMOVE))
+ if (PeekMessageW(&msg, (HWND)NULL, 0, 0, PM_REMOVE))
{
TranslateMessage(&msg);
- pDispatchMessage(&msg);
+ DispatchMessageW(&msg);
}
// write pipe information in the window