/* FUNCTIONS *****************************************************************/
-NTSTATUS FASTCALL
+INIT_FUNCTION
+NTSTATUS
+NTAPI
InitAcceleratorImpl(VOID)
{
return(STATUS_SUCCESS);
static
BOOLEAN FASTCALL
co_IntTranslateAccelerator(
- PWINDOW_OBJECT Window,
+ PWND Window,
UINT message,
WPARAM wParam,
LPARAM lParam,
ASSERT_REFS_CO(Window);
DPRINT("IntTranslateAccelerator(hwnd %x, message %x, wParam %x, lParam %x, fVirt %d, key %x, cmd %x)\n",
- Window->hSelf, message, wParam, lParam, fVirt, key, cmd);
+ Window->head.h, message, wParam, lParam, fVirt, key, cmd);
if (wParam != key)
{
}
DPRINT("IntTranslateAccelerator(hwnd %x, message %x, wParam %x, lParam %x, fVirt %d, key %x, cmd %x) = FALSE\n",
- Window->hSelf, message, wParam, lParam, fVirt, key, cmd);
+ Window->head.h, message, wParam, lParam, fVirt, key, cmd);
return FALSE;
if (mesg == WM_COMMAND)
{
DPRINT(", sending WM_COMMAND, wParam=%0x\n", 0x10000 | cmd);
- co_IntSendMessage(Window->hSelf, mesg, 0x10000 | cmd, 0L);
+ co_IntSendMessage(Window->head.h, mesg, 0x10000 | cmd, 0L);
}
else if (mesg == WM_SYSCOMMAND)
{
DPRINT(", sending WM_SYSCOMMAND, wParam=%0x\n", cmd);
- co_IntSendMessage(Window->hSelf, mesg, cmd, 0x00010000L);
+ co_IntSendMessage(Window->head.h, mesg, cmd, 0x00010000L);
}
else
{
}
DPRINT("IntTranslateAccelerator(hWnd %x, message %x, wParam %x, lParam %x, fVirt %d, key %x, cmd %x) = TRUE\n",
- Window->hSelf, message, wParam, lParam, fVirt, key, cmd);
+ Window->head.h, message, wParam, lParam, fVirt, key, cmd);
return TRUE;
}
HACCEL hAccel,
LPMSG Message)
{
- PWINDOW_OBJECT Window = NULL;
+ PWND Window = NULL;
PACCELERATOR_TABLE Accel = NULL;
ULONG i;
USER_REFERENCE_ENTRY AccelRef, WindowRef;