ReactOS 0.4.16-dev-258-g81860b4
|
#include <stdio.h>
#include "wine/test.h"
#include "winbase.h"
#include "winerror.h"
#include "wingdi.h"
#include "winuser.h"
#include "winnls.h"
Go to the source code of this file.
Macros | |
#define | check_messages(a, b, c, d, e, f) check_messages_(__LINE__,a,b,c,d,e,f) |
Variables | |
static UINT | count |
static UINT UINT * | out_count |
static int | thread_from_line |
static char * | argv0 |
static WNDPROC | old_proc |
static CRITICAL_SECTION | clipboard_cs |
static HWND | next_wnd |
static UINT | wm_drawclipboard |
static UINT | wm_clipboardupdate |
static UINT | wm_destroyclipboard |
static UINT | wm_renderformat |
static UINT | nb_formats |
static BOOL | cross_thread |
static BOOL | do_render_format |
static HANDLE | update_event |
static UINT | old_seq |
static UINT | format_id |
static HBITMAP | bitmap |
static HBITMAP | bitmap2 |
static HPALETTE | palette |
static const LOGPALETTE | logpalette = { 0x300, 1, {{ 0x12, 0x34, 0x56, 0x78 }}} |
struct { | |
char strA [12] | |
WCHAR strW [12] | |
UINT len | |
} | test_data [] |
Definition at line 1033 of file clipboard.c.
|
static |
Definition at line 1006 of file clipboard.c.
Definition at line 886 of file clipboard.c.
Referenced by clipboard_wnd_proc().
Definition at line 1035 of file clipboard.c.
Referenced by test_messages().
Definition at line 904 of file clipboard.c.
Definition at line 534 of file clipboard.c.
Referenced by BITMAP_LoadImageW(), DataObject_GetData(), image_list_add_bitmap(), test_data_cache_cache(), test_imagelist_storage(), test_load_texture(), test_synthesized(), and test_texture_qi().
Definition at line 542 of file clipboard.c.
Referenced by test_synthesized().
|
static |
Definition at line 526 of file clipboard.c.
Definition at line 508 of file clipboard.c.
Referenced by test_data_handles(), and test_synthesized().
Definition at line 489 of file clipboard.c.
Referenced by clipboard_thread(), clipboard_wnd_proc(), test_data_handles(), test_handles(), and test_synthesized().
Definition at line 498 of file clipboard.c.
Referenced by clipboard_render_data_thread(), and test_synthesized().
Definition at line 47 of file clipboard.c.
Referenced by test_ClipboardOwner().
Definition at line 128 of file clipboard.c.
Referenced by START_TEST().
Definition at line 1331 of file clipboard.c.
Referenced by test_data_handles(), test_handles(), test_handles_process(), and test_handles_thread2().
Definition at line 1338 of file clipboard.c.
Referenced by test_data_handles(), and test_handles().
Definition at line 1324 of file clipboard.c.
Referenced by test_data_handles(), test_handles(), test_handles_process_open(), and test_handles_thread2().
Definition at line 56 of file clipboard.c.
Referenced by test_ClipboardOwner().
Definition at line 64 of file clipboard.c.
Referenced by test_ClipboardOwner().
Definition at line 40 of file clipboard.c.
Referenced by test_ClipboardOwner().
Definition at line 568 of file clipboard.c.
Referenced by test_synthesized().
Definition at line 166 of file clipboard.c.
Referenced by clipboard_thread(), test_ClipboardOwner(), test_data_handles(), and test_string_data().
|
static |
Definition at line 144 of file clipboard.c.
Referenced by test_ClipboardOwner(), and test_data_handles().
Definition at line 104 of file clipboard.c.
Referenced by START_TEST().
Definition at line 72 of file clipboard.c.
Referenced by test_ClipboardOwner().
START_TEST | ( | clipboard | ) |
Definition at line 2150 of file clipboard.c.
Definition at line 226 of file clipboard.c.
Referenced by START_TEST().
Definition at line 1792 of file clipboard.c.
Referenced by START_TEST().
Definition at line 1916 of file clipboard.c.
Referenced by START_TEST().
Definition at line 1348 of file clipboard.c.
Definition at line 1678 of file clipboard.c.
Referenced by START_TEST().
Definition at line 1764 of file clipboard.c.
Referenced by START_TEST().
Definition at line 1620 of file clipboard.c.
Referenced by test_data_handles().
Definition at line 1627 of file clipboard.c.
Referenced by test_data_handles().
Definition at line 1277 of file clipboard.c.
Referenced by START_TEST().
Definition at line 373 of file clipboard.c.
Referenced by START_TEST().
Definition at line 2048 of file clipboard.c.
Referenced by START_TEST().
Definition at line 2093 of file clipboard.c.
Referenced by START_TEST().
Definition at line 586 of file clipboard.c.
Referenced by START_TEST().
Definition at line 184 of file clipboard.c.
Referenced by test_ClipboardOwner().
|
static |
Definition at line 38 of file clipboard.c.
Referenced by run_process(), and START_TEST().
Definition at line 1344 of file clipboard.c.
|
static |
Definition at line 1344 of file clipboard.c.
Referenced by test_colorkey(), test_colormatrix(), test_createbitmapfromsource(), test_data_handles(), test_gamma(), test_getthumbnail(), test_handles(), test_handles_thread2(), and test_remaptable().
|
static |
Definition at line 893 of file clipboard.c.
Referenced by clipboard_thread(), clipboard_wnd_proc(), and test_messages().
Definition at line 35 of file clipboard.c.
|
static |
Definition at line 900 of file clipboard.c.
Referenced by check_messages_(), clipboard_thread(), and clipboard_wnd_proc().
|
static |
Definition at line 901 of file clipboard.c.
Referenced by clipboard_thread(), and clipboard_wnd_proc().
|
static |
Definition at line 1343 of file clipboard.c.
Referenced by append_decl_element(), buffer_init(), compute_texture_matrix(), ddraw_surface7_SetSurfaceDesc(), debug_d3dformat(), get_format_idx(), get_format_internal(), init_typeless_formats(), test_data_handles(), test_handles(), test_handles_process(), test_handles_thread2(), test_RegisterClipboardFormatA(), wined3d_adapter_init_fb_cfgs(), wined3d_calculate_format_pitch(), wined3d_cs_emit_set_index_buffer(), wined3d_device_resolve_sub_resource(), wined3d_device_set_index_buffer(), wined3d_enum_adapter_modes(), wined3d_format_convert_from_float(), wined3d_get_adapter_mode_count(), wined3d_get_format(), wined3d_swapchain_apply_sample_count_override(), wined3d_swapchain_resize_buffers(), and wined3d_texture_update_desc().
Definition at line 2030 of file clipboard.c.
Referenced by test_RegisterClipboardFormatA(), and test_string_data_process().
|
static |
Definition at line 1346 of file clipboard.c.
Referenced by OleDuplicateData(), test_data_handles(), test_DIB_PAL_COLORS(), test_handles(), and test_palette_entries().
|
static |
Definition at line 899 of file clipboard.c.
Referenced by clipboard_wnd_proc().
|
static |
Definition at line 894 of file clipboard.c.
|
static |
Definition at line 183 of file clipboard.c.
Referenced by subclass_margin_edits(), test_ClipboardOwner(), test_SetWindowPos(), and winproc_wrapper().
|
static |
Definition at line 1004 of file clipboard.c.
Referenced by check_messages_(), clipboard_thread(), clipboard_wnd_proc(), and test_synthesized().
Definition at line 35 of file clipboard.c.
Referenced by ConvertJapaneseUnicodeToJIS(), ConvertJISJapaneseToUnicode(), ConvertUnknownJapaneseToUnicode(), linear_vari_process(), test_propertybag_getpropertyinfo(), and zoh_vari_process().
|
static |
Definition at line 1345 of file clipboard.c.
Referenced by BitmapClipper_CopyPalette(), BitmapTestSrc_CopyPalette(), BmpEncoder_SetPalette(), BmpFrameDecode_ReadRLE4(), BmpFrameDecode_ReadRLE8(), BmpFrameEncode_SetPalette(), check_halftone_palette(), ComponentFactory_CreatePalette(), convert_argb_pixels(), convert_p8_uint_b8g8r8a8_unorm(), copypixels_to_32bppBGRA(), create_bitmap_from_source_rect(), create_optimal_palette(), d3drm_image_load_8(), d3drm_image_palettise(), d3drm_texture1_Changed(), d3drm_texture2_Changed(), D3DXCreateCubeTextureFromFileExA(), D3DXCreateCubeTextureFromFileExW(), D3DXCreateCubeTextureFromFileInMemoryEx(), D3DXCreateTextureFromFileExA(), D3DXCreateTextureFromFileExW(), D3DXCreateTextureFromFileInMemoryEx(), D3DXCreateTextureFromResourceExA(), D3DXCreateTextureFromResourceExW(), D3DXCreateVolumeTextureFromFileExA(), D3DXCreateVolumeTextureFromFileExW(), D3DXCreateVolumeTextureFromFileInMemoryEx(), D3DXFilterTexture(), D3DXLoadSurfaceFromFileInMemory(), ddraw1_CreatePalette(), ddraw2_CreatePalette(), ddraw4_CreatePalette(), ddraw_palette_GetCaps(), ddraw_palette_GetEntries(), ddraw_palette_init(), ddraw_palette_Release(), ddraw_palette_SetEntries(), ddraw_surface1_GetPalette(), ddraw_surface1_SetPalette(), ddraw_surface2_GetPalette(), ddraw_surface2_SetPalette(), ddraw_surface3_GetPalette(), ddraw_surface3_SetPalette(), ddraw_surface4_GetPalette(), ddraw_surface4_SetPalette(), ddraw_surface7_GetDC(), ddraw_surface7_GetPalette(), ddraw_surface7_SetPalette(), ddraw_surface_set_palette(), DECLARE_INTERFACE_(), decode_frame_wic(), DirectDrawMediaStreamImpl_IDirectDrawMediaStream_GetFormat(), EMFDC_SelectPalette(), FormatConverter_CopyPalette(), FormatConverter_Initialize(), GdipBitmapConvertFormat(), GdipCreateBitmapFromHBITMAP(), GdipGetImageAttributesAdjustedPalette(), GdipGetImagePalette(), GdipInitializePalette(), GdipSetImagePalette(), get_bitmap_info(), get_gif_palette(), get_palette(), get_palette_index(), Image::GetPalette(), gif_metadata_reader(), GifDecoder_CopyPalette(), GifEncoder_SetPalette(), GifFrameEncode_SetPalette(), ImagingFactory_CreateBitmapFromHBITMAP(), IMILBitmapImpl_CopyPalette(), IMILBitmapImpl_SetPalette(), IMILBitmapScaler_CopyPalette(), index_to_rgba(), InitBitmap(), load_cube_texture_from_dds(), load_texture_from_dds(), load_volume_texture_from_dds(), metadc_create_palette(), METADC_SelectPalette(), metafile_deserialize_image(), NtGdiDdDDICreateDCFromMemory(), palette_sample(), PaletteImpl_Create(), PaletteImpl_InitializeFromBitmap(), point_filter_argb_pixels(), Image::SetPalette(), setpixel_1bppIndexed(), setpixel_4bppIndexed(), setpixel_8bppIndexed(), surface_load_texture(), test_bitmap_scaler(), test_bitmapbits(), test_converter_8bppIndexed(), test_createbitmap(), test_CreateBitmapFromHBITMAP(), test_createbitmapfromsource(), test_custom_palette(), test_D3DXLoadSurface(), test_data_handles(), test_decode_1bpp(), test_decode_24bpp(), test_decode_4bpp(), test_decode_rle4(), test_decode_rle8(), test_default_handler(), test_encoder(), test_GdipInitializePalette(), test_getadjustedpalette(), test_global_gif_palette(), test_global_gif_palette_2frames(), test_handles(), test_handles_thread2(), test_local_gif_palette(), test_media_streams(), test_multi_encoder(), test_multiframegif(), test_palette(), test_palette_brush(), test_palette_from_bitmap(), test_png_palette(), test_predefined_palette(), test_set_frame_palette(), test_SetDIBits(), test_SetDIBitsToDevice(), test_tiff_1bpp_palette(), test_tiff_4bps_bgra(), test_tiff_8bpp_alpha(), test_tiff_8bpp_palette(), test_tiff_palette(), upload_palette(), wined3d_colour_from_ddraw_colour(), wined3d_palette_apply_to_dc(), wined3d_palette_create(), wined3d_palette_decref(), wined3d_palette_get_entries(), wined3d_palette_incref(), wined3d_palette_init(), wined3d_palette_set_entries(), and wined3d_swapchain_set_palette().
char strA[12] |
Definition at line 2028 of file clipboard.c.
Referenced by AnsiToUnicode(), decodeBase64WithLenFmtW(), enum_compartments(), FD31_MapStringPairsToW(), GetMultiByteString(), GetMultiByteStringN(), GetWideString(), GetWideStringN(), LHashValOfNameSys(), REGPROC_write_line(), secure_proxy_connect(), strcmp_aw(), test_basetypes(), test_crtGetStringTypeW(), test_IMLangConvertCharset(), test_overlapped_buffers(), test_string_data(), test_string_data_process(), and UnicodeToAnsi().
WCHAR strW[12] |
Definition at line 2029 of file clipboard.c.
Referenced by AnsiToUnicode(), CharLowerBuffA(), CharUpperBuffA(), check_convertible(), decodeBase64WithLenFmtW(), DrawCaptionTempA(), encode_compare_base64_W(), FD31_DupToW(), FilenameA2W(), FilenameW2A_FitOrFail(), FONT_mbtowc(), get_clr_version(), get_nt_pathW(), GetMultiByteString(), GetMultiByteStringN(), GetTabbedTextExtentA(), GetWideString(), GetWideStringN(), LISTVIEW_FindItemA(), MONTHCAL_PaintTitle(), msi_strequal(), msi_strprefix(), MsiPreviewDialogA(), SetLocaleInfoA(), SHGetObjectCompatFlags(), strdupW(), SymMatchStringA(), TabbedTextOutA(), test_basetypes(), test_commandline2argv(), test_CryptBinaryToString(), test_EM_GETLINE(), test_getstring(), test_IMLangConvertCharset(), test_margins_default(), test_overlapped_buffers(), test_RtlHashUnicodeString(), test_string_data(), test_string_data_process(), UnicodeToAnsi(), write_string(), and xmlstrdupW().
const struct { ... } test_data[] |
|
static |
Definition at line 37 of file clipboard.c.
Referenced by empty_clipboard_thread(), open_and_empty_clipboard_thread(), open_and_empty_clipboard_win_thread(), open_clipboard_thread(), run_thread(), and set_clipboard_data_thread().
|
static |
Definition at line 902 of file clipboard.c.
Referenced by check_messages_(), clipboard_wnd_proc(), and test_messages().
|
static |
Definition at line 896 of file clipboard.c.
Referenced by clipboard_wnd_proc().
|
static |
Definition at line 897 of file clipboard.c.
Referenced by clipboard_wnd_proc().
|
static |
Definition at line 895 of file clipboard.c.
|
static |
Definition at line 898 of file clipboard.c.
Referenced by clipboard_wnd_proc().