ReactOS 0.4.16-dev-433-g6363f78
|
#include <windows.h>
#include <commctrl.h>
#include <stdio.h>
#include "wine/test.h"
#include "msg.h"
Go to the source code of this file.
Macros | |
#define | expect(EXPECTED, GOT) ok((GOT)==(EXPECTED), "Expected %d, got %d\n", (EXPECTED), (GOT)) |
#define | NUM_MSG_SEQUENCES 3 |
#define | PARENT_SEQ_INDEX 0 |
#define | EDIT_SEQ_INDEX 1 |
#define | UPDOWN_SEQ_INDEX 2 |
#define | UPDOWN_ID 0 |
#define | BUDDY_ID 1 |
#define | X(f) p##f = (void*)GetProcAddress(hComCtl32, #f); |
#define | X2(f, ord) p##f = (void*)GetProcAddress(hComCtl32, (const char *)ord); |
Functions | |
static | HWND (WINAPI *pCreateUpDownControl)(DWORD |
static | BOOL (WINAPI *pSetWindowSubclass)(HWND |
static LRESULT WINAPI | parent_wnd_proc (HWND hwnd, UINT message, WPARAM wParam, LPARAM lParam) |
static BOOL | register_parent_wnd_class (void) |
static HWND | create_parent_window (void) |
static LRESULT WINAPI | edit_subclass_proc (HWND hwnd, UINT message, WPARAM wParam, LPARAM lParam) |
static HWND | create_edit_control (void) |
static LRESULT WINAPI | updown_subclass_proc (HWND hwnd, UINT message, WPARAM wParam, LPARAM lParam) |
static HWND | create_updown_control (DWORD style, HWND buddy) |
static void | test_updown_pos (void) |
static void | test_updown_pos32 (void) |
static void | test_updown_buddy (void) |
static void | test_updown_base (void) |
static void | test_updown_unicode (void) |
static void | test_updown_create (void) |
static void | test_UDS_SETBUDDYINT (void) |
static void | test_CreateUpDownControl (void) |
static void | test_updown_pos_notifications (void) |
static void | init_functions (void) |
START_TEST (updown) | |
Variables | |
static HWND | parent_wnd |
static HWND | g_edit |
static | INT |
static | HWND |
static | HINSTANCE |
static | SUBCLASSPROC |
static | UINT_PTR |
static | DWORD_PTR |
static struct msg_sequence * | sequences [NUM_MSG_SEQUENCES] |
static const struct message | add_updown_with_edit_seq [] |
static const struct message | add_updown_to_parent_seq [] |
static const struct message | get_edit_text_seq [] |
static const struct message | test_updown_pos_seq [] |
static const struct message | test_updown_pos32_seq [] |
static const struct message | test_updown_buddy_seq [] |
static const struct message | test_updown_base_seq [] |
static const struct message | test_updown_unicode_seq [] |
static const struct message | test_updown_pos_nochange_seq [] |
static const struct message | test_updown_pos_notifications_seq [] |
static const struct message | test_updown_pos_notifications_horz_seq [] |
Definition at line 277 of file updown.c.
Referenced by START_TEST(), and test_updown_buddy().
Definition at line 243 of file updown.c.
Referenced by START_TEST().
Definition at line 318 of file updown.c.
Referenced by test_UDS_SETBUDDYINT(), test_updown_base(), test_updown_buddy(), test_updown_create(), test_updown_pos(), test_updown_pos32(), test_updown_pos_notifications(), and test_updown_unicode().
|
static |
Definition at line 256 of file updown.c.
Referenced by create_edit_control().
Definition at line 976 of file updown.c.
Referenced by START_TEST().
|
static |
Definition at line 193 of file updown.c.
Referenced by register_parent_wnd_class().
Definition at line 226 of file updown.c.
Referenced by create_parent_window().
START_TEST | ( | updown | ) |
Definition at line 988 of file updown.c.
Definition at line 907 of file updown.c.
Referenced by START_TEST().
Definition at line 849 of file updown.c.
Referenced by START_TEST().
Definition at line 679 of file updown.c.
Referenced by START_TEST().
Definition at line 551 of file updown.c.
Referenced by START_TEST().
Definition at line 778 of file updown.c.
Referenced by START_TEST().
Definition at line 342 of file updown.c.
Referenced by START_TEST().
Definition at line 463 of file updown.c.
Referenced by START_TEST().
Definition at line 930 of file updown.c.
Referenced by START_TEST().
Definition at line 741 of file updown.c.
Referenced by START_TEST().
|
static |
Definition at line 296 of file updown.c.
Referenced by create_updown_control().
Definition at line 79 of file updown.c.
Referenced by test_updown_create().
Definition at line 71 of file updown.c.
Referenced by test_updown_buddy(), and test_updown_create().
|
static |
Definition at line 63 of file updown.c.
Referenced by START_TEST(), test_CreateUpDownControl(), test_UDS_SETBUDDYINT(), test_updown_base(), test_updown_buddy(), test_updown_create(), test_updown_pos(), test_updown_pos32(), test_updown_pos_notifications(), and test_updown_unicode().
Definition at line 86 of file updown.c.
Referenced by test_updown_create().
Definition at line 66 of file updown.c.
Referenced by test_CreateUpDownControl(), and test_updown_buddy().
|
static |
Definition at line 63 of file updown.c.
Referenced by create_edit_control(), create_updown_control(), START_TEST(), test_CreateUpDownControl(), test_updown_buddy(), and test_updown_create().
|
static |
Definition at line 69 of file updown.c.
Referenced by edit_subclass_proc(), parent_wnd_proc(), START_TEST(), test_updown_base(), test_updown_buddy(), test_updown_create(), test_updown_pos(), test_updown_pos32(), test_updown_pos_notifications(), test_updown_unicode(), and updown_subclass_proc().
Definition at line 138 of file updown.c.
Referenced by test_updown_base().
Definition at line 123 of file updown.c.
Referenced by test_updown_buddy().
Definition at line 107 of file updown.c.
Referenced by test_updown_pos32().
Definition at line 162 of file updown.c.
Referenced by test_updown_pos(), and test_updown_pos32().
Definition at line 180 of file updown.c.
Referenced by test_updown_pos_notifications().
Definition at line 167 of file updown.c.
Referenced by test_updown_pos_notifications().
Definition at line 91 of file updown.c.
Referenced by test_updown_pos().
Definition at line 152 of file updown.c.
Referenced by test_updown_unicode().