|
ReactOS 0.4.16-dev-1946-g52006dd
|
#include <stdarg.h>#include <stdio.h>#include <stdlib.h>#include <math.h>#include "wine/test.h"#include "windef.h"#include "winbase.h"#include "winnls.h"#include "mmsystem.h"#include "mmreg.h"#include "msacm.h"#include "wine/msacmdrv.h"
Go to the source code of this file.
Classes | |
| struct | stream_output |
Macros | |
| #define | NOBITMAP |
Functions | |
| static BOOL CALLBACK | FormatTagEnumProc (HACMDRIVERID hadid, PACMFORMATTAGDETAILSA paftd, DWORD_PTR dwInstance, DWORD fdwSupport) |
| static BOOL CALLBACK | FormatEnumProc (HACMDRIVERID hadid, LPACMFORMATDETAILSA pafd, DWORD_PTR dwInstance, DWORD fd) |
| static BOOL CALLBACK | DriverEnumProc (HACMDRIVERID hadid, DWORD_PTR dwInstance, DWORD fdwSupport) |
| static const char * | get_metric (UINT uMetric) |
| static void | check_count (UINT uMetric) |
| static void | driver_tests (void) |
| static void | test_prepareheader (void) |
| static void | test_convert (void) |
| static void | test_acmFormatSuggest (void) |
| static void | test_acmFormatTagDetails (void) |
| static void | test_acmFormatChoose (void) |
| static void | test_mp3 (void) |
| static LRESULT CALLBACK | acm_driver_func (DWORD_PTR id, HDRVR handle, UINT msg, LPARAM param1, LPARAM param2) |
| static void | test_acmDriverAdd (void) |
| START_TEST (msacm) | |
Variables | |
| static const BYTE | input [64] = {0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63} |
| static const struct stream_output | expected_output [] |
| struct { | |
| struct { | |
| int load | |
| int free | |
| int open | |
| int close | |
| int enable | |
| int disable | |
| int install | |
| int remove | |
| int details | |
| int notify | |
| int querycfg | |
| int about | |
| } driver | |
| struct { | |
| int tag_details | |
| int details | |
| int suggest | |
| } format | |
| struct { | |
| int open | |
| int close | |
| int size | |
| int convert | |
| int prepare | |
| int unprepare | |
| int reset | |
| } stream | |
| int other | |
| } | driver_calls |
|
static |
Definition at line 1379 of file msacm.c.
Referenced by test_acmDriverAdd().
Definition at line 777 of file msacm.c.
Referenced by driver_tests().
Definition at line 808 of file msacm.c.
Referenced by START_TEST().
|
static |
Definition at line 317 of file msacm.c.
Referenced by driver_tests().
|
static |
Definition at line 232 of file msacm.c.
Referenced by DriverEnumProc().
|
static |
Definition at line 36 of file msacm.c.
Referenced by DriverEnumProc().
Definition at line 735 of file msacm.c.
Referenced by check_count().
| START_TEST | ( | msacm | ) |
Definition at line 1523 of file msacm.c.
Definition at line 1483 of file msacm.c.
Referenced by START_TEST().
Definition at line 1252 of file msacm.c.
Referenced by START_TEST().
Definition at line 1143 of file msacm.c.
Referenced by START_TEST().
Definition at line 1240 of file msacm.c.
Referenced by START_TEST().
Definition at line 1101 of file msacm.c.
Referenced by START_TEST().
Definition at line 1279 of file msacm.c.
Referenced by START_TEST().
Definition at line 842 of file msacm.c.
Referenced by START_TEST().
| int convert |
Definition at line 1374 of file msacm.c.
Referenced by _isctype_l(), check_convertible(), main(), MLangConvertCharset_create(), MsiSourceListEnumMediaDisksW(), SetConvertStg(), setValue(), test_D3DXFloat_Array(), test_IMLangConvertCharset(), tt_face_get_name(), and wined3d_surface_blt().
| int details |
Definition at line 1366 of file msacm.c.
Referenced by codeview_fetch_type(), codeview_parse_one_type(), component_GetDetails(), CreateInfFileDetails(), GetDetailsOf(), mixer_test_controlA(), mixer_test_controlW(), SHELL_GetDetailsOfToBuffer(), START_TEST(), test_printers_folder(), and TestLibDependency().
| int disable |
Definition at line 1365 of file msacm.c.
Referenced by AdjustTokenPrivileges(), GetProcessPriorityBoost(), request_set_option(), SetProcessPriorityBoost(), SetThreadPriorityBoost(), and test_WinHttpSendRequest().
| struct { ... } driver |
Referenced by acpi_bus_attach(), acpi_bus_driver_init(), acpi_bus_find_driver(), acpi_bus_match(), acpi_bus_notify(), acpi_bus_register_driver(), acpi_bus_unattach(), acpi_bus_unregister_driver(), AtlCreateTargetDC(), cf2_decoder_parse_charstrings(), cff_builder_add_point(), cff_driver_init(), cff_get_interface(), cff_slot_load(), cff_subfont_load(), cid_driver_done(), cid_driver_init(), compute_glyph_metrics(), Destroy_Driver(), destroy_face(), destroy_size(), DriverEvtCleanup(), FT_Add_Module(), FT_Attach_Stream(), FT_Done_Face(), FT_Done_GlyphSlot(), FT_Done_Size(), FT_Get_Kerning(), ft_glyphslot_done(), ft_glyphslot_init(), FT_Load_Glyph(), FT_New_GlyphSlot(), FT_New_Size(), ft_open_face_internal(), gdf_driver_proc(), get_driver_version_info(), ICInfo(), ICInstall(), ICOpen(), ICRemove(), if(), init_driver(), init_driver_info(), ITERATE_InstallODBCDataSource(), ITERATE_InstallODBCDriver(), ITERATE_RemoveODBCDataSource(), load_config_driver(), load_driver(), open_face(), pcf_driver_init(), pcf_load_font(), pcf_property_get(), pcf_property_set(), printercache_process(), ps_builder_add_point(), ps_property_get(), ps_property_set(), SQLConfigDriver(), SQLConfigDriverW(), SQLInstallDriverEx(), SQLRemoveDriver(), T1_Driver_Done(), T1_Driver_Init(), T1_Parse_Glyph_And_Get_Char_String(), T42_Driver_Init(), test_create_device_from_clipper1(), test_create_device_from_clipper2(), test_create_device_from_clipper3(), test_create_device_from_surface1(), test_create_device_from_surface2(), test_create_device_from_surface3(), test_Device(), test_device_qi(), test_DeviceCapabilities(), test_driver_install(), test_PrintDlgA(), test_Viewport(), test_viewport_clear1(), test_viewport_clear2(), test_viewport_qi(), tt_driver_init(), tt_get_interface(), tt_get_metrics(), TT_Hint_Glyph(), tt_loader_init(), tt_loader_set_pp(), TT_Process_Composite_Component(), TT_Process_Simple_Glyph(), tt_property_get(), tt_property_set(), VerifyWdfDeviceWdmDispatchIrp(), write_config_value(), and write_registry_values().
| struct { ... } driver_calls |
Referenced by acm_driver_func(), and test_acmDriverAdd().
|
static |
Definition at line 1056 of file msacm.c.
Referenced by test_convert(), and test_shader_semantics().
| struct { ... } format |
|
static |
Definition at line 1045 of file msacm.c.
Referenced by test_convert(), and test_prepareheader().
| int install |
Definition at line 1365 of file msacm.c.
Referenced by calc_sizes(), FGetComponentPath(), and InstallEngineTiming_GetRates().
| int load |
Definition at line 1365 of file msacm.c.
Referenced by cff_index_init(), test_ResolveDelayLoadedAPI(), TT_Load_Simple_Glyph(), and tt_prepare_zone().
| int notify |
Definition at line 1366 of file msacm.c.
Referenced by AEV_RegisterControlChangeNotify(), AEV_UnregisterControlChangeNotify(), common_notify4(), discard_eol(), disk_check_notify(), IDirectSoundCaptureNotifyImpl_SetNotificationPositions(), IDirectSoundNotifyImpl_SetNotificationPositions(), ITextDocument2Old_fnNotify(), LISTVIEW_KeyDown(), LISTVIEW_KillFocus(), LISTVIEW_LButtonDblClk(), LISTVIEW_LButtonDown(), LISTVIEW_RButtonDblClk(), LISTVIEW_RButtonDown(), LISTVIEW_SetFocus(), notify_remove_pair(), op_cb_notify_deviceid_args(), read_more_data(), refill_buffer(), scroll_abs(), scroll_h_abs(), scroll_v_abs(), SendNotify(), SendNotifyEx(), set_scroll_range_pos(), start_next_chunk(), test_COM(), test_duplicate(), test_gettext(), test_wm_notify(), TRACKBAR_LButtonUp(), TRACKBAR_RecalculateTics(), TRACKBAR_SetTic(), vring_new_virtqueue_packed(), vring_new_virtqueue_split(), and WSPConnect().
| int other |
Definition at line 1376 of file msacm.c.
Referenced by __rb_erase_color(), LocaleTest::_time_put_get(), XMLStorage::XMLNode::Children::assign(), __crt_strtox::big_integer::big_integer(), BookmarkNode::BookmarkNode(), __crt_strtox::c_string_character_source< Character >::c_string_character_source(), ATL::CComBSTR::CComBSTR(), ATL::CComVariant::CComVariant(), XMLStorage::XMLNode::Children::Children(), convert_old_args(), XMLStorage::XMLNode::Children::copy(), ATL::CComBSTR::CopyTo(), Entry::Entry(), DownloadInfo::Equal(), __crt_strtox::input_adapter_character_source< InputAdapter >::input_adapter_character_source(), MainProc(), monoTriangulationOpt(), monoTriangulationRecGenOpt(), XMLStorage::XMLNode::Children::move(), nsURI_Equals(), nsURI_EqualsExceptRef(), XMLStorage::XMLChildrenFilter::iterator::operator!=(), XMLStorage::const_XMLChildrenFilter::const_iterator::operator!=(), XMLStorage::XMLPropertyReader::const_iterator::operator!=(), StackAllocator< _Tp >::operator!=(), Data::operator<(), __crt_strtox::big_integer::operator=(), __crt_strtox::c_string_character_source< Character >::operator=(), XMLStorage::XMLNode::Children::operator=(), BookmarkNode::operator=(), ATL::CComBSTR::operator=(), CCreature::operator=(), XMLStorage::XMLNode::operator=(), __crt_strtox::input_adapter_character_source< InputAdapter >::operator=(), Data::operator==(), MyIntComparable::operator==(), XMLStorage::XMLChildrenFilter::iterator::operator==(), XMLStorage::const_XMLChildrenFilter::const_iterator::operator==(), XMLStorage::XMLPropertyReader::const_iterator::operator==(), StackAllocator< _Tp >::operator==(), RECTL_Intersect(), sampleMonoPoly(), tinyxml2::XMLElement::ShallowEqual(), StackAllocator< _Tp >::swap(), test_dialog_parent(), test_GetCharsetInfo_other(), TLB_get_size_from_hreftype(), tinyxml2::StrPair::TransferTo(), TRIO_ARGS1(), TRIO_ARGS2(), TRIO_ARGS3(), Uri_IsEqual(), wined3d_clip_blit(), XMLStorage::XMLNode::XMLNode(), xmlParseNameAndCompare(), xsltMergeAttrSets(), xsltResolveAttrSet(), and xsltResolveUseAttrSets().
| int remove |
Definition at line 1366 of file msacm.c.
Referenced by _unlink(), close_file_store(), copy_file(), create_cache(), FxDevice::DeleteObject(), CCFDATAStorage::Destroy(), do_typelib_reg_key(), EndLog(), get_subtests(), GetHostnameFromCommand(), LocalRmCmd(), main(), ModifyShellContextMenu(), pnfs_layout_state_close(), process_state_property(), RmCpTest::remove1(), remove_volume_child(), SetEnv(), START_TEST(), SwapBookmarkFiles(), test__stat32(), test_searchenv(), test_stat(), test_utf8(), Maplist::undefine(), unpack_iso(), verify_volume(), and WinMain().
| struct { ... } stream |
| int suggest |
Definition at line 1370 of file msacm.c.
Referenced by test_acmFormatSuggest().