|
ReactOS 0.4.16-dev-2491-g3dc6630
|
#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 4942 of file input.c.
Definition at line 4922 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 3952 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 4955 of file input.c.
Referenced by test_GetKeyState().
Definition at line 3521 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().
Definition at line 5686 of file input.c.
Referenced by test_ClipCursor(), test_ClipCursor_desktop(), test_ClipCursor_process(), and test_ClipCursor_thread().
|
static |
Definition at line 3938 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 4053 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 4024 of file input.c.
Referenced by test_SendInput_mouse_messages().
Definition at line 4031 of file input.c.
Referenced by test_SendInput_mouse_messages().
Definition at line 6030 of file input.c.
Referenced by test_keyboard_ll_hook_blocking().
|
static |
Definition at line 3990 of file input.c.
Referenced by test_SendInput_mouse_messages().
|
static |
Definition at line 3971 of file input.c.
Referenced by test_SendInput_mouse_messages().
Definition at line 5172 of file input.c.
Referenced by test_input_message_source().
|
static |
Definition at line 548 of file input.c.
|
static |
Definition at line 4575 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 2900 of file input.c.
Referenced by rawinput_test_thread().
Definition at line 2784 of file input.c.
Referenced by START_TEST().
Definition at line 2966 of file input.c.
Referenced by test_rawinput().
|
static |
Definition at line 2706 of file input.c.
Referenced by rawinput_test_desk_thread(), rawinput_test_process(), and test_rawinput().
|
static |
Definition at line 2290 of file input.c.
Referenced by test_GetRawInputBuffer().
|
static |
Definition at line 505 of file input.c.
Definition at line 3903 of file input.c.
Referenced by test_input_message_source().
| START_TEST | ( | input | ) |
Definition at line 6225 of file input.c.
Definition at line 3729 of file input.c.
Referenced by START_TEST().
Definition at line 3723 of file input.c.
Referenced by test_ActivateKeyboardLayout().
|
static |
Definition at line 3688 of file input.c.
Referenced by test_ActivateKeyboardLayout().
Definition at line 4642 of file input.c.
Referenced by START_TEST().
Definition at line 5845 of file input.c.
Referenced by START_TEST().
Definition at line 5789 of file input.c.
Referenced by START_TEST().
Definition at line 5693 of file input.c.
Referenced by START_TEST().
Definition at line 5736 of file input.c.
Referenced by START_TEST().
Definition at line 5705 of file input.c.
Referenced by test_ClipCursor_process().
Definition at line 3190 of file input.c.
Referenced by START_TEST().
Definition at line 5647 of file input.c.
Referenced by START_TEST().
Definition at line 3514 of file input.c.
Referenced by START_TEST().
Definition at line 5018 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 5474 of file input.c.
Referenced by START_TEST(), and test_EnableMouseInPointer().
Definition at line 5455 of file input.c.
Referenced by test_GetPointerInfo().
Definition at line 2432 of file input.c.
Referenced by test_input_desktop().
Definition at line 2111 of file input.c.
Referenced by test_input_desktop().
Definition at line 1933 of file input.c.
Referenced by START_TEST().
Definition at line 6172 of file input.c.
Referenced by START_TEST().
Definition at line 5215 of file input.c.
Referenced by START_TEST().
Definition at line 3209 of file input.c.
Referenced by START_TEST().
Definition at line 3863 of file input.c.
Referenced by START_TEST().
Definition at line 6200 of file input.c.
Referenced by START_TEST().
Definition at line 3535 of file input.c.
Referenced by START_TEST().
Definition at line 6041 of file input.c.
Referenced by test_input_desktop().
Definition at line 6065 of file input.c.
Referenced by test_input_desktop().
Definition at line 5129 of file input.c.
Referenced by START_TEST().
Definition at line 3018 of file input.c.
Referenced by START_TEST().
Definition at line 2121 of file input.c.
Referenced by test_input_desktop().
Definition at line 5305 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 4072 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 5869 of file input.c.
Referenced by test_input_desktop().
Definition at line 3442 of file input.c.
Referenced by START_TEST().
Definition at line 3368 of file input.c.
Referenced by START_TEST().
Definition at line 5299 of file input.c.
Referenced by START_TEST().
Definition at line 4596 of file input.c.
Referenced by test_attach_input().
Definition at line 3922 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 3685 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 3684 of file input.c.
Referenced by test_ActivateKeyboardLayout(), and test_ActivateKeyboardLayout_window_proc().
|
static |
Definition at line 5170 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 4883 of file input.c.
Referenced by get_key_state_thread(), and test_GetKeyState().
|
static |
Definition at line 3686 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 6028 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 2702 of file input.c.
Referenced by rawinput_test_desk_thread(), rawinput_test_process(), rawinput_wndproc(), and test_rawinput().
|
static |
Definition at line 2703 of file input.c.
Referenced by rawinput_test_desk_thread(), rawinput_test_process(), rawinput_wndproc(), and test_rawinput().
|
static |
Definition at line 2704 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 2754 of file input.c.
Referenced by rawinput_test_desk_thread(), rawinput_test_process(), and test_rawinput().
|
static |
Definition at line 2257 of file input.c.
Referenced by rawinputbuffer_wndproc(), and test_GetRawInputBuffer().
|
static |
Referenced by test_ToUnicode().