|
ReactOS 0.4.17-dev-116-ga4b6fe9
|
#include <stdarg.h>#include <assert.h>#include "windef.h"#include "winbase.h"#include "wingdi.h"#include "winuser.h"#include "winnls.h"#include "winreg.h"#include "ddk/hidsdi.h"#include "imm.h"#include "kbd.h"#include "wine/test.h"
Go to the source code of this file.
Classes | |
| struct | user_call |
| struct | send_input_keyboard_test |
| struct | RAWINPUTHEADER32 |
| struct | RAWINPUTHEADER64 |
| struct | RAWINPUT64 |
| struct | rawinput_test |
| struct | rawinput_test_thread_params |
| struct | tounicode_tests |
| struct | create_transparent_window_params |
| struct | send_input_mouse_test |
| struct | wnd_event |
| struct | get_key_state_test_desc |
| struct | get_key_state_thread_params |
Enumerations | |
| enum | user_function { MSG_TEST_WIN = 1 , LL_HOOK_KEYBD , LL_HOOK_MOUSE , RAW_INPUT_KEYBOARD } |
Variables | |
| static const struct user_call | empty_sequence [] = {{0}} |
| static struct user_call | current_sequence [1024] |
| static LONG | current_sequence_len |
| static BOOL | append_message_hwnd |
| static BOOL(* | p_accept_message )(UINT msg) |
| static POINTER_INPUT_TYPE *static POINTER_INFO *static UINT32 POINTER_INFO *static UINT32 POINTER_INFO *static UINT32 UINT32 POINTER_INFO *static | LPMOUSEMOVEPOINT |
| static POINTER_INPUT_TYPE *static POINTER_INFO *static UINT32 POINTER_INFO *static UINT32 POINTER_INFO *static UINT32 UINT32 POINTER_INFO *static | int |
| static POINTER_INPUT_TYPE *static POINTER_INFO *static UINT32 POINTER_INFO *static UINT32 POINTER_INFO *static UINT32 UINT32 POINTER_INFO *static | DWORD |
| static | PUINT |
| static | UINT |
| static void UINT *static void UINT *static | PBOOL |
| static BOOL | is_wow64 |
| static int | rawinputbuffer_wndproc_count |
| static BOOL | rawinput_test_received_legacy |
| static BOOL | rawinput_test_received_raw |
| static BOOL | rawinput_test_received_rawfg |
| struct rawinput_test | rawinput_tests [] |
| static const struct tounicode_tests | utests [] |
| static HKL | expect_hkl |
| static HKL | change_hkl |
| static int | got_setfocus |
| struct get_key_state_test_desc | get_key_state_tests [] |
| static INPUT_MESSAGE_SOURCE | expect_src |
| static HANDLE | ll_keyboard_event |
| #define BUFLIM 64 |
| #define create_foreground_window | ( | a | ) | create_foreground_window_( __FILE__, __LINE__, a, 5 ) |
| #define KBD_HOOK | ( | m, | |
| s, | |||
| v, | |||
| f, | |||
| ... | |||
| ) | {.func = LL_HOOK_KEYBD, .ll_hook_kbd = {.msg = m, .scan = s, .vkey = v, .flags = f}, ## __VA_ARGS__} |
| #define KEY_HOOK_ | ( | m, | |
| s, | |||
| v, | |||
| f, | |||
| ... | |||
| ) | KBD_HOOK( m, s, v, LLKHF_INJECTED | (m == WM_KEYUP || m == WM_SYSKEYUP ? LLKHF_UP : 0) | (f), ## __VA_ARGS__ ) |
| #define KEY_MSG | ( | m, | |
| s, | |||
| v, | |||
| ... | |||
| ) | WIN_MSG( m, v, MAKELONG(1, (s) | (m == WM_KEYUP || m == WM_SYSKEYUP ? (KF_UP | KF_REPEAT) : 0)), ## __VA_ARGS__ ) |
| #define KEY_MSG_ | ( | m, | |
| s, | |||
| v, | |||
| f, | |||
| ... | |||
| ) | WIN_MSG( m, v, MAKELONG(1, (s) | (m == WM_KEYUP || m == WM_SYSKEYUP ? (KF_UP | KF_REPEAT) : 0) | (f)), ## __VA_ARGS__ ) |
| #define MS_HOOK | ( | m, | |
| x, | |||
| y, | |||
| ... | |||
| ) | {.func = LL_HOOK_MOUSE, .ll_hook_ms = {.msg = m, .point = {x, y}, .flags = 1}, ## __VA_ARGS__} |
| #define MYERROR 0xdeadbeef |
| #define RAW_KEY | ( | s, | |
| f, | |||
| v, | |||
| m, | |||
| ... | |||
| ) | {.func = RAW_INPUT_KEYBOARD, .raw_input.kbd = {.MakeCode = s, .Flags = f, .VKey = v, .Message = m}, ## __VA_ARGS__} |
| #define WIN_MSG | ( | m, | |
| h, | |||
| w, | |||
| l, | |||
| ... | |||
| ) | {.func = MSG_TEST_WIN, .message = {.msg = m, .hwnd = h, .wparam = w, .lparam = l}, ## __VA_ARGS__} |
| #define WIN_MSG | ( | m, | |
| w, | |||
| l, | |||
| ... | |||
| ) | {.func = MSG_TEST_WIN, .message = {.msg = m, .wparam = w, .lparam = l}, ## __VA_ARGS__} |
| #define WIN_MSG | ( | m, | |
| w, | |||
| l, | |||
| ... | |||
| ) | {.func = MSG_TEST_WIN, .message = {.msg = m, .wparam = w, .lparam = l}, ## __VA_ARGS__} |
| Enumerator | |
|---|---|
| MSG_TEST_WIN | |
| LL_HOOK_KEYBD | |
| LL_HOOK_MOUSE | |
| RAW_INPUT_KEYBOARD | |
Definition at line 1478 of file input.c.
Referenced by test_SendInput_raw_key_messages().
|
static |
Definition at line 357 of file input.c.
Referenced by ll_hook_kbd_proc().
|
static |
Definition at line 375 of file input.c.
Referenced by ll_hook_ms_proc().
Definition at line 415 of file input.c.
Referenced by append_message_wndproc(), httransparent_wndproc(), mouse_layered_wndproc(), and msg_wait_for_events_().
|
static |
Definition at line 428 of file input.c.
Referenced by test_SendInput_keyboard_messages(), test_SendInput_mouse_messages(), and test_SendInput_raw_key_messages().
Definition at line 393 of file input.c.
Referenced by append_message().
Definition at line 4955 of file input.c.
Definition at line 4935 of file input.c.
|
static |
|
static |
|
static |
|
static |
Definition at line 733 of file input.c.
Definition at line 708 of file input.c.
Referenced by check_send_input_keyboard_test_().
Definition at line 583 of file input.c.
Definition at line 3965 of file input.c.
Referenced by test_SendInput_mouse_messages().
Definition at line 202 of file input.c.
Referenced by check_keyboard_async_(), check_keyboard_state_(), and ok_call_().
Definition at line 619 of file input.c.
Referenced by rawinput_test_desk_thread(), rawinput_test_process(), rawinput_test_thread(), test_ActivateKeyboardLayout(), test_GetKeyState(), test_GetPointerInfo(), and test_rawinput().
Definition at line 4968 of file input.c.
Referenced by test_GetKeyState().
Definition at line 3530 of file input.c.
Referenced by test_keyboard_layout_name(), and test_LoadKeyboardLayoutEx().
Definition at line 812 of file input.c.
Referenced by test_input_desktop().
|
static |
Definition at line 5692 of file input.c.
Referenced by get_virtual_screen_rect().
Definition at line 5699 of file input.c.
Referenced by test_ClipCursor(), test_ClipCursor_desktop(), test_ClipCursor_process(), and test_ClipCursor_thread().
|
static |
Definition at line 3951 of file input.c.
Referenced by create_transparent_window_thread(), and test_SendInput_mouse_messages().
Definition at line 456 of file input.c.
Referenced by START_TEST().
|
static |
Definition at line 572 of file input.c.
Referenced by accept_keyboard_messages_raw(), accept_keyboard_messages_syscommand(), empty_message_queue(), get_key_state_thread(), and test_SendInput().
Definition at line 577 of file input.c.
Referenced by accept_mouse_messages_nomove(), empty_message_queue(), and test_SendInput_mouse_messages().
Definition at line 767 of file input.c.
Referenced by test_SendInput_keyboard_messages().
Definition at line 4066 of file input.c.
Referenced by test_SendInput_mouse_messages().
Definition at line 654 of file input.c.
Referenced by test_SendInput_keyboard_messages().
Definition at line 4037 of file input.c.
Referenced by test_SendInput_mouse_messages().
Definition at line 4044 of file input.c.
Referenced by test_SendInput_mouse_messages().
Definition at line 6043 of file input.c.
Referenced by test_keyboard_ll_hook_blocking().
|
static |
Definition at line 4003 of file input.c.
Referenced by test_SendInput_mouse_messages().
|
static |
Definition at line 3984 of file input.c.
Referenced by test_SendInput_mouse_messages().
Definition at line 5185 of file input.c.
Referenced by test_input_message_source().
|
static |
Definition at line 548 of file input.c.
|
static |
Definition at line 4588 of file input.c.
Referenced by test_attach_input().
|
static |
Definition at line 223 of file input.c.
Referenced by ok_seq_().
|
static |
Definition at line 327 of file input.c.
Definition at line 2909 of file input.c.
Referenced by rawinput_test_thread().
Definition at line 2793 of file input.c.
Referenced by START_TEST().
Definition at line 2975 of file input.c.
Referenced by test_rawinput().
|
static |
Definition at line 2715 of file input.c.
Referenced by rawinput_test_desk_thread(), rawinput_test_process(), and test_rawinput().
|
static |
Definition at line 2299 of file input.c.
Referenced by test_GetRawInputBuffer().
|
static |
Definition at line 505 of file input.c.
Definition at line 3916 of file input.c.
Referenced by test_input_message_source().
| START_TEST | ( | input | ) |
Definition at line 6238 of file input.c.
Definition at line 3742 of file input.c.
Referenced by START_TEST().
Definition at line 3736 of file input.c.
Referenced by test_ActivateKeyboardLayout().
|
static |
Definition at line 3701 of file input.c.
Referenced by test_ActivateKeyboardLayout().
Definition at line 4655 of file input.c.
Referenced by START_TEST().
Definition at line 5858 of file input.c.
Referenced by START_TEST().
Definition at line 5802 of file input.c.
Referenced by START_TEST().
Definition at line 5706 of file input.c.
Referenced by START_TEST().
Definition at line 5749 of file input.c.
Referenced by START_TEST().
Definition at line 5718 of file input.c.
Referenced by test_ClipCursor_process().
Definition at line 3199 of file input.c.
Referenced by START_TEST().
Definition at line 5660 of file input.c.
Referenced by START_TEST().
Definition at line 3523 of file input.c.
Referenced by START_TEST().
Definition at line 5031 of file input.c.
Referenced by START_TEST().
Definition at line 1621 of file input.c.
Referenced by START_TEST().
Definition at line 1847 of file input.c.
Referenced by START_TEST().
Definition at line 5487 of file input.c.
Referenced by START_TEST(), and test_EnableMouseInPointer().
Definition at line 5468 of file input.c.
Referenced by test_GetPointerInfo().
Definition at line 2441 of file input.c.
Referenced by test_input_desktop().
Definition at line 2120 of file input.c.
Referenced by test_input_desktop().
Definition at line 1942 of file input.c.
Referenced by START_TEST().
Definition at line 6185 of file input.c.
Referenced by START_TEST().
Definition at line 5228 of file input.c.
Referenced by START_TEST().
Definition at line 3218 of file input.c.
Referenced by START_TEST().
Definition at line 3876 of file input.c.
Referenced by START_TEST().
Definition at line 6213 of file input.c.
Referenced by START_TEST().
Definition at line 3544 of file input.c.
Referenced by START_TEST().
Definition at line 6054 of file input.c.
Referenced by test_input_desktop().
Definition at line 6078 of file input.c.
Referenced by test_input_desktop().
Definition at line 5142 of file input.c.
Referenced by START_TEST().
Definition at line 3027 of file input.c.
Referenced by START_TEST().
Definition at line 2130 of file input.c.
Referenced by test_input_desktop().
Definition at line 5318 of file input.c.
Referenced by test_input_desktop().
|
static |
Definition at line 824 of file input.c.
Referenced by test_input_desktop().
Definition at line 4085 of file input.c.
Referenced by test_input_desktop().
Definition at line 1483 of file input.c.
Referenced by test_input_desktop().
Definition at line 5882 of file input.c.
Referenced by test_input_desktop().
Definition at line 3451 of file input.c.
Referenced by START_TEST().
Definition at line 3377 of file input.c.
Referenced by START_TEST().
Definition at line 5312 of file input.c.
Referenced by START_TEST().
Definition at line 4609 of file input.c.
Referenced by test_attach_input().
Definition at line 3935 of file input.c.
Referenced by create_transparent_window_thread().
|
static |
Definition at line 354 of file input.c.
Referenced by append_message(), append_rawinput_message(), and test_SendInput_mouse_messages().
|
static |
Definition at line 3698 of file input.c.
Referenced by test_ActivateKeyboardLayout(), and test_ActivateKeyboardLayout_window_proc().
Definition at line 179 of file input.c.
Referenced by append_ll_hook_kbd(), append_ll_hook_ms(), append_message(), append_rawinput_message(), clear_keyboard_state(), and ok_seq_().
|
static |
Definition at line 180 of file input.c.
Referenced by append_ll_hook_kbd(), append_ll_hook_ms(), append_message(), append_rawinput_message(), clear_keyboard_state(), ok_seq_(), and test_SendInput_mouse_messages().
Definition at line 178 of file input.c.
Referenced by test_SendInput(), test_SendInput_keyboard_messages(), test_SendInput_mouse_messages(), and test_SendInput_raw_key_messages().
|
static |
Definition at line 3697 of file input.c.
Referenced by test_ActivateKeyboardLayout(), and test_ActivateKeyboardLayout_window_proc().
|
static |
Definition at line 5183 of file input.c.
Referenced by msg_source_proc(), and test_input_message_source().
| struct get_key_state_test_desc get_key_state_tests[] |
Definition at line 4896 of file input.c.
Referenced by get_key_state_thread(), and test_GetKeyState().
|
static |
Definition at line 3699 of file input.c.
Referenced by test_ActivateKeyboardLayout(), and test_ActivateKeyboardLayout_window_proc().
|
static |
Definition at line 454 of file input.c.
Referenced by init_function_pointers(), keyboard_layout_has_altgr(), rawinputbuffer_wndproc(), test_GetRawInputBuffer(), and test_SendInput_keyboard_messages().
|
static |
Definition at line 6041 of file input.c.
Referenced by ll_keyboard_event_wait(), and test_keyboard_ll_hook_blocking().
Definition at line 355 of file input.c.
Referenced by append_ll_hook_kbd(), append_ll_hook_ms(), append_message(), test_SendInput(), test_SendInput_keyboard_messages(), test_SendInput_mouse_messages(), and test_SendInput_raw_key_messages().
|
static |
Definition at line 2711 of file input.c.
Referenced by rawinput_test_desk_thread(), rawinput_test_process(), rawinput_wndproc(), and test_rawinput().
|
static |
Definition at line 2712 of file input.c.
Referenced by rawinput_test_desk_thread(), rawinput_test_process(), rawinput_wndproc(), and test_rawinput().
|
static |
Definition at line 2713 of file input.c.
Referenced by rawinput_test_desk_thread(), rawinput_test_process(), rawinput_wndproc(), and test_rawinput().
| struct rawinput_test rawinput_tests[] |
Definition at line 2763 of file input.c.
Referenced by rawinput_test_desk_thread(), rawinput_test_process(), and test_rawinput().
|
static |
Definition at line 2266 of file input.c.
Referenced by rawinputbuffer_wndproc(), and test_GetRawInputBuffer().
|
static |
Referenced by test_ToUnicode().