ReactOS 0.4.16-dev-981-g80eb313
|
#include <stdlib.h>
#include <stdarg.h>
#include <stdio.h>
#include "wine/test.h"
#include "windef.h"
#include "winbase.h"
#include "winreg.h"
#include "wingdi.h"
#include "winuser.h"
#include "pshpack1.h"
#include "poppack.h"
Go to the source code of this file.
Classes | |
struct | CURSORICONFILEDIRENTRY |
struct | CURSORICONFILEDIR |
struct | ani_header |
struct | ani_data32x32x32 |
struct | ani_frame32x32x32 |
struct | riff_header_t |
struct | riff_list_t |
struct | riff_icon32x32x32_t |
struct | riff_cursor1_t |
struct | riff_cursor3_t |
struct | riff_rate3_t |
struct | riff_seq3_t |
struct | riff_cursor3_seq_t |
struct | test_icon_entries_t |
Variables | |
riff_cursor1_t | empty_anicursor |
riff_cursor3_t | empty_anicursor3 |
riff_cursor3_seq_t | empty_anicursor3_seq |
static char ** | test_argv |
static int | test_argc |
static HWND | child = 0 |
static HWND | parent = 0 |
static HANDLE | child_process |
static ICONINFOEXA *static ICONINFOEXW *static const BOOL | is_win64 = (sizeof(void *) > sizeof(int)) |
static const unsigned char | gifimage [35] |
static const unsigned char | jpgimage [285] |
static const unsigned char | pngimage [285] |
static unsigned char | bmpimage [70] |
static const unsigned char | bmpcoreimage [38] |
static const unsigned char | gif4pixel [42] |
static const unsigned char | invalid_dwDIBOffset [] |
static const DWORD | biSize_tests [] |
static DWORD | unk1 |
static DWORD DWORD | istep |
static DWORD DWORD DWORD * | rate |
static DWORD DWORD DWORD DWORD * | steps |
static DWORD | parent_id |
static HANDLE | event_start |
static HANDLE | event_next |
Definition at line 62 of file cursoricon.c.
Definition at line 63 of file cursoricon.c.
#define ANI_FLAG_ICON 0x1 |
Definition at line 69 of file cursoricon.c.
#define ANI_FLAG_SEQUENCE 0x2 |
Definition at line 70 of file cursoricon.c.
Definition at line 65 of file cursoricon.c.
#define ANI_icon_ID RIFF_FOURCC('i', 'c', 'o', 'n') |
Definition at line 66 of file cursoricon.c.
Definition at line 61 of file cursoricon.c.
Definition at line 67 of file cursoricon.c.
Definition at line 60 of file cursoricon.c.
#define ANI_seq__ID RIFF_FOURCC('s', 'e', 'q', ' ') |
Definition at line 64 of file cursoricon.c.
#define compare_bitmap_bits | ( | a, | |
b, | |||
c, | |||
d, | |||
e, | |||
f, | |||
g | |||
) | compare_bitmap_bits_(__LINE__, a, b, c, d, e, f, g) |
Definition at line 2814 of file cursoricon.c.
#define CRSR_RES_SIZE (2*sizeof(INT16) + ICON_RES_SIZE) |
#define CRSR_RES_SIZE (2*sizeof(INT16) + ICON_RES_SIZE) |
#define EMPTY_ICON32 |
Definition at line 154 of file cursoricon.c.
#define ICON_AND_SIZE (ICON_WIDTH*ICON_HEIGHT/8) |
#define ICON_BPP 32 |
#define ICON_HEIGHT 32 |
#define ICON_RES_AND_SIZE (ICON_WIDTH*ICON_HEIGHT/8) |
#define ICON_RES_AND_SIZE (ICON_WIDTH*ICON_HEIGHT/8) |
#define ICON_RES_BPP 32 |
#define ICON_RES_BPP 32 |
#define ICON_RES_HEIGHT 32 |
#define ICON_RES_HEIGHT 32 |
#define ICON_RES_SIZE (sizeof(BITMAPINFOHEADER) + ICON_AND_SIZE + ICON_AND_SIZE*ICON_BPP) |
#define ICON_RES_SIZE (sizeof(BITMAPINFOHEADER) + ICON_AND_SIZE + ICON_AND_SIZE*ICON_BPP) |
#define ICON_RES_WIDTH 32 |
#define ICON_RES_WIDTH 32 |
#define ICON_SIZE |
#define ICON_WIDTH 32 |
Definition at line 302 of file cursoricon.c.
#define RIFF_FOURCC | ( | c0, | |
c1, | |||
c2, | |||
c3 | |||
) |
Definition at line 56 of file cursoricon.c.
Definition at line 793 of file cursoricon.c.
Definition at line 310 of file cursoricon.c.
Referenced by do_child().
|
static |
Definition at line 1922 of file cursoricon.c.
Referenced by test_DrawIcon(), and test_DrawIconEx().
Definition at line 1595 of file cursoricon.c.
Referenced by test_GetCursorFrameInfo().
|
static |
Definition at line 1952 of file cursoricon.c.
Referenced by test_DrawIcon().
|
static |
Definition at line 2053 of file cursoricon.c.
Referenced by test_DrawIconEx().
|
static |
Definition at line 2198 of file cursoricon.c.
Referenced by test_DrawState().
|
static |
Definition at line 2146 of file cursoricon.c.
Referenced by test_DrawState().
Definition at line 481 of file cursoricon.c.
Referenced by check_alpha_draw(), check_cursor_data(), check_DrawIcon(), check_DrawIconEx(), check_DrawState_Color(), check_DrawState_Size(), and test_LoadImageBitmap().
|
static |
Definition at line 2815 of file cursoricon.c.
|
static |
Definition at line 1206 of file cursoricon.c.
Referenced by test_Image_StretchMode().
|
static |
Definition at line 1146 of file cursoricon.c.
Referenced by test_LoadImage(), test_LoadImage_working_directory_run(), and test_PrivateExtractIcons().
|
static |
Definition at line 1886 of file cursoricon.c.
Referenced by check_alpha_draw(), check_DrawIcon(), check_DrawIconEx(), check_DrawState_Color(), and check_DrawState_Size().
Definition at line 358 of file cursoricon.c.
Referenced by START_TEST().
Definition at line 397 of file cursoricon.c.
Referenced by START_TEST().
Definition at line 446 of file cursoricon.c.
Referenced by START_TEST().
|
static |
Definition at line 2788 of file cursoricon.c.
Referenced by compare_bitmap_bits_().
Definition at line 2272 of file cursoricon.c.
Referenced by test_SetCursor().
Definition at line 2390 of file cursoricon.c.
Referenced by test_ShowCursor().
START_TEST | ( | cursoricon | ) |
Definition at line 2987 of file cursoricon.c.
Definition at line 453 of file cursoricon.c.
Referenced by START_TEST().
Definition at line 542 of file cursoricon.c.
Referenced by START_TEST().
|
static |
Definition at line 489 of file cursoricon.c.
Referenced by test_CopyImage_Bitmap().
Definition at line 795 of file cursoricon.c.
Referenced by START_TEST().
Definition at line 1454 of file cursoricon.c.
Referenced by START_TEST().
Definition at line 2514 of file cursoricon.c.
Referenced by START_TEST().
Definition at line 1986 of file cursoricon.c.
Referenced by START_TEST().
Definition at line 2070 of file cursoricon.c.
Referenced by START_TEST().
Definition at line 2219 of file cursoricon.c.
Referenced by START_TEST().
Definition at line 1639 of file cursoricon.c.
Referenced by START_TEST().
|
static |
Definition at line 712 of file cursoricon.c.
Definition at line 2843 of file cursoricon.c.
Referenced by START_TEST().
Definition at line 695 of file cursoricon.c.
Referenced by START_TEST().
Definition at line 1326 of file cursoricon.c.
Referenced by START_TEST().
Definition at line 1282 of file cursoricon.c.
Referenced by test_LoadImage().
Definition at line 1240 of file cursoricon.c.
Referenced by test_LoadImage_working_directory().
Definition at line 1056 of file cursoricon.c.
Referenced by test_LoadImageFile().
|
static |
Definition at line 1081 of file cursoricon.c.
Referenced by test_LoadImage().
Definition at line 2671 of file cursoricon.c.
Referenced by START_TEST().
Definition at line 2652 of file cursoricon.c.
Referenced by START_TEST().
Definition at line 2287 of file cursoricon.c.
Referenced by START_TEST().
Definition at line 2408 of file cursoricon.c.
Referenced by START_TEST().
Definition at line 1040 of file cursoricon.c.
Referenced by test_LoadImage().
Definition at line 1021 of file cursoricon.c.
Referenced by test_LoadImage().
Definition at line 1012 of file cursoricon.c.
Referenced by test_LoadImage(), and test_LoadImage_working_directory_run().
|
static |
Definition at line 298 of file cursoricon.c.
Referenced by _get_first_child(), CMenuBand::_SetChildBand(), _test_node_append_child(), _test_node_insertbefore(), _test_node_remove_child(), acpi_bus_add(), acpi_bus_scan(), MDIMainFrame::activate_child_window(), MDIMainFrame::activate_drive_window(), XMLStorage::XMLNode::add_child(), XMLStorage::XMLPos::add_down(), add_feature_child(), add_folder_child(), append_inf_file(), callback_parent(), checkc_query(), checkc_queue_childw(), Client_accHitTest(), MDIMainFrame::Command(), count_children(), FileChildWindow::create(), WebChildWindow::create(), MDIShellBrowserChild::create(), Window::create_mdi_child(), XMLStorage::XMLNode::create_relative(), CRYPT_CollectionAdvanceEnum(), CRYPT_CollectionCreateContextFromChild(), d3drm_frame1_AddChild(), d3drm_frame1_DeleteChild(), d3drm_frame2_AddChild(), d3drm_frame2_DeleteChild(), d3drm_frame3_AddChild(), d3drm_frame3_DeleteChild(), d3dx9_file_data_Release(), d3dx9_file_enum_object_Release(), DECLARE_INTERFACE_(), DECLARE_INTERFACE_IID_(), delete_directory(), do_child(), do_parent(), dwarf2_parse_array_type(), dwarf2_parse_compilation_unit(), dwarf2_parse_enumeration_type(), dwarf2_parse_inlined_subroutine(), dwarf2_parse_namespace(), dwarf2_parse_subprogram(), dwarf2_parse_subprogram_block(), dwarf2_parse_subroutine_type(), dwarf2_parse_udt_type(), dwarf2_read_one_debug_info(), dwarfnextsymat(), fill_tree(), find_feature_children(), find_folder_children(), find_or_create_directory(), FindWindowExA(), FindWindowExW(), finish_child_process(), FloatDown(), FolderBrowseCallback(), free_handle(), free_parameter(), free_parameter_data(), get_child_index(), get_item_names_string(), GetFirstDataObject_(), CMenuFocusManager::GetMsgHook(), CCommonFolder< TSelf, TItemId, TExtractIcon >::GetUIObjectOf(), GetUIObjectOfAbsolute(), XMLStorage::const_XMLPos::go_to(), XMLStorage::XMLPos::go_to(), HTMLElement_contains(), HTMLOptionElement_put_text(), icb_hostaddr(), icb_ptr(), insert_file_entry(), invalidate_handle(), CFindFolderContextMenu::InvokeCommand(), is_override_method(), IsChild(), load_data(), load_frame(), load_mesh_data(), CSendToMenu::LoadAllItems(), MDI_ChildActivate(), Window::MDICBTHookProc(), MDIClientWndProc_common(), MDIDestroyChild(), merge_previous_session(), CMenuFocusManager::MsgFilterHook(), MSGTestProc2(), MSI_GetFeatureCost(), msi_resolve_target_folder(), MSI_SetFeatureStateW(), param_set_data_pointer(), parse_frame(), parse_material(), parse_material_list(), parse_mesh(), CCommonFolder< TSelf, TItemId, TExtractIcon >::ParseDisplayName(), PiEnumerateDevice(), process_data(), CMenuFocusManager::ProcessMouseDown(), CMenuFocusManager::ProcessMouseMove(), CMenuFocusManager::ProcessMouseUp(), Window::PropSheetCBTHookProc(), r_verify_pidl(), radiobuttonlist_on_bn_clicked(), rb_erase(), release_children(), richole_release_children(), SdbpMatchFileAttributes(), seltree_menu(), seltree_update_siblings_and_children_installstate(), set_focus_on_activate_proc(), set_target_path(), CMenuBand::SetClient(), CMenuFocusManager::SetMenuCapture(), subprocess(), test_AttributesRegistration(), test_child_process(), test_create(), test_D3DXFrameFind(), test_defwinproc(), test_dialog_messages(), test_dialog_parent(), test_dot_parsing(), test_dpi_mapping(), test_dpi_window(), test_dump(), test_DxDiag_DisplayDevices(), test_DxDiag_SoundCaptureDevices(), test_DxDiag_SoundDevices(), test_EnumDirFiles(), test_EnumObjects_Files(), test_EnumObjects_Folders(), test_EnumPropNames(), test_expand(), test_get_lastChild(), test_GetChildContainer(), test_GetProp(), test_parent_owner(), test_rtl_layout(), test_set_coop(), test_SetFocus(), test_SetMenu(), test_SetParent(), test_TagRef(), test_update_region(), test_validatergn(), test_window_from_point(), test_window_tree(), test_wm_notify(), test_wm_notifyformat(), test_xmldoc(), test_xmlelem(), test_xmlelem_children(), test_xmlelem_collection(), testGetIssuerCert(), textranges_update_ranges(), TREEVIEW_BuildChildDPA(), TREEVIEW_IsChildOf(), TREEVIEW_ResetImageStateIndex(), TREEVIEW_VerifyChildren(), tinyxml2::XMLNode::Unlink(), VersionInfo16_FindChild(), VersionInfo32_FindChild(), wine_rb_remove(), Pane::WndProc(), write_inline_wrappers(), write_method_macro(), xsltApplyFallbacks(), xsltApplySequenceConstructor(), xsltApplyXSLTTemplate(), xsltLoadStylesheetPI(), xsltParseStylesheetAttributeSet(), and xsltSaveResultTo().
|
static |
Definition at line 300 of file cursoricon.c.
Referenced by do_parent(), finish_child_process(), and START_TEST().
riff_cursor1_t empty_anicursor |
Definition at line 193 of file cursoricon.c.
Referenced by test_CreateIconFromResource(), and test_GetCursorFrameInfo().
riff_cursor3_t empty_anicursor3 |
Definition at line 222 of file cursoricon.c.
Referenced by test_GetCursorFrameInfo().
riff_cursor3_seq_t empty_anicursor3_seq |
Definition at line 253 of file cursoricon.c.
Referenced by test_GetCursorFrameInfo().
|
static |
Definition at line 2388 of file cursoricon.c.
Referenced by show_cursor_thread(), and test_ShowCursor().
|
static |
Definition at line 2388 of file cursoricon.c.
Referenced by show_cursor_thread(), and test_ShowCursor().
Definition at line 1028 of file cursoricon.c.
Referenced by test_LoadImage().
Definition at line 971 of file cursoricon.c.
Referenced by test_LoadImage().
Definition at line 1035 of file cursoricon.c.
Referenced by test_LoadImage().
|
static |
Definition at line 308 of file cursoricon.c.
Referenced by test_LoadImage().
Definition at line 1638 of file cursoricon.c.
Referenced by cp_fields(), GetCursorFrameInfo(), and NtUserGetCursorFrameInfo().
Definition at line 978 of file cursoricon.c.
Referenced by test_LoadImage().
|
static |
Definition at line 299 of file cursoricon.c.
Referenced by do_child(), do_parent(), and START_TEST().
|
static |
Definition at line 2270 of file cursoricon.c.
Referenced by find_parent(), my_SHBindToParent(), set_cursor_thread(), show_cursor_thread(), test_SetCursor(), and test_ShowCursor().
Definition at line 1000 of file cursoricon.c.
Referenced by test_LoadImage().
Definition at line 1638 of file cursoricon.c.
Referenced by test_GetCursorFrameInfo().
Definition at line 1638 of file cursoricon.c.
Referenced by Varray::init(), NtUserGetCursorFrameInfo(), POLYGONFILL_UpdateScanline(), test_GetCursorFrameInfo(), WINTRUST_AddTrustStepsFromFunctions(), WINTRUST_ExecuteSteps(), and xsltNewCompMatch().
|
static |
Definition at line 297 of file cursoricon.c.
Referenced by START_TEST().
|
static |
Definition at line 296 of file cursoricon.c.
Referenced by do_parent(), and START_TEST().
DWORD unk1 |
Definition at line 1638 of file cursoricon.c.
Referenced by DeleteWpadCacheForNetworks(), disp_cmp(), I_CertUpdateStore(), I_CryptCreateLruEntry(), I_CryptFindLruEntry(), I_CryptFindLruEntryData(), I_CryptFlushLruCache(), I_CryptFreeLruCache(), iface_cmp(), LogSqmBits(), LogSqmUXCommandOffsetInternal(), MapBrowserEmulationModeToUserAgent(), MapUriToBrowserEmulationState(), START_TEST(), test_get_childNodes(), test_get_namespaces(), test_mxnamespacemanager(), test_namedmap_newenum(), test_replaceChild(), and test_selection().