Commit Graph

201 Commits

Author SHA1 Message Date
Eric Pouech 151abafa54 dmstyle: Don't cast size_t to DWORD in trace, use %I instead.
Signed-off-by: Eric Pouech <eric.pouech@gmail.com>
Signed-off-by: Michael Stefaniuc <mstefani@winehq.org>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-04-07 22:44:38 +02:00
Michael Stefaniuc 7ea710c69b dmusic: Sync up the dmobject.c files.
Signed-off-by: Michael Stefaniuc <mstefani@winehq.org>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-02-23 20:57:55 +01:00
Michael Stefaniuc 1a9e8c1a2e dmstyle/tests: Build without -DWINE_NO_LONG_TYPES.
Signed-off-by: Michael Stefaniuc <mstefani@winehq.org>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-02-11 10:57:17 +01:00
Eric Pouech 73a05ffb99 dmstyle: Enable compilation with long types.
Signed-off-by: Eric Pouech <eric.pouech@gmail.com>
Signed-off-by: Michael Stefaniuc <mstefani@winehq.org>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-02-10 10:39:08 +01:00
Alexandre Julliard f0cd33c69e include: Add support for defining Win32 types as 'long' where possible.
Add -DWINE_NO_LONG_TYPES to modules that still have compilation
warnings with long types.

Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-01-27 20:38:22 +01:00
Alexandre Julliard 088a787a2c makefiles: Make -mno-cygwin the default.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-09-20 22:45:48 +02:00
Alexandre Julliard 5d82baf974 winecrt0: Add a default implementation DllRegisterServer()/DllUnregisterServer().
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-04-30 22:59:50 +02:00
Michael Stefaniuc 9f9fce44fc dmusic: Sync up the dmobject.[ch] files.
Signed-off-by: Michael Stefaniuc <mstefani@winehq.org>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-12-01 10:13:08 +01:00
Alistair Leslie-Hughes 3636779f92 dmstyle: Implement IDirectMusicStyle8 GetBand.
Signed-off-by: Alistair Leslie-Hughes <leslie_alistair@hotmail.com>
Signed-off-by: Michael Stefaniuc <mstefani@winehq.org>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-09-21 12:54:14 +02:00
Myah Caron d28c7938c7 dmstyle: Return S_FALSE for IDirectMusicStyle8::GetMotif.
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=49850
Signed-off-by: Myah Caron <qsniyg@protonmail.com>
Signed-off-by: Michael Stefaniuc <mstefani@winehq.org>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-09-17 21:14:44 +02:00
Alistair Leslie-Hughes 79b91eaf28 dmstyle: IDirectMusicStyle8 GetDefaultBand return S_FALSE.
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=48648
Signed-off-by: Alistair Leslie-Hughes <leslie_alistair@hotmail.com>
Signed-off-by: Michael Stefaniuc <mstefani@winehq.org>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-02-26 22:32:52 +01:00
Michael Stefaniuc dcb6fcb2af dmstyle/tests: Add GetParam/SetParam tests for unsupported types.
Signed-off-by: Michael Stefaniuc <mstefani@winehq.org>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-01-23 09:25:56 +01:00
Michael Stefaniuc d7ae69a3da dmstyle: Partially implement Style track GetParam/SetParam methods.
Signed-off-by: Michael Stefaniuc <mstefani@winehq.org>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-01-23 09:25:54 +01:00
Michael Stefaniuc 0b8333d26f dmstyle: Partially implement Mute track GetParam/SetParam methods.
Signed-off-by: Michael Stefaniuc <mstefani@winehq.org>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-01-23 09:25:52 +01:00
Michael Stefaniuc 68132a7d20 dmstyle: Partially implement Motif track GetParam/SetParam methods.
Signed-off-by: Michael Stefaniuc <mstefani@winehq.org>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-01-23 09:25:50 +01:00
Michael Stefaniuc 66e68156f3 dmstyle: Partially implement Command track GetParam/SetParam methods.
Signed-off-by: Michael Stefaniuc <mstefani@winehq.org>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-01-23 09:25:47 +01:00
Michael Stefaniuc d0780e37ed dmstyle: Partially implement Chord track GetParam/SetParam methods.
Signed-off-by: Michael Stefaniuc <mstefani@winehq.org>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-01-23 09:25:42 +01:00
Michael Stefaniuc 62ff6ee754 dmstyle: Partially implement Audition track GetParam/SetParam methods.
Temporary drop a todo_wine test until all dmstyle tracks have their
SetParam() method implemented.

Signed-off-by: Michael Stefaniuc <mstefani@winehq.org>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-01-23 09:25:40 +01:00
Michael Stefaniuc 2ba39c8901 dmstyle: Avoid cloning the IStream in parse_style_form().
It can be an application provided IStream with unimplemented Clone()
method.

Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=31562
Signed-off-by: Michael Stefaniuc <mstefani@winehq.org>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-12-23 10:49:51 +01:00
Michael Stefaniuc 7560f0c59d dmstyle/tests: Use wide-char string literals.
Signed-off-by: Michael Stefaniuc <mstefani@winehq.org>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-12-16 21:26:25 +01:00
Michael Stefaniuc bcd88ea3ea dmstyle: Use the debug functions provided by dmobject.[ch].
Signed-off-by: Michael Stefaniuc <mstefani@winehq.org>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-12-13 09:52:33 +01:00
Alistair Leslie-Hughes 292d62e3bb dmime: Trace pbMemData/llMemLength on the same line.
Signed-off-by: Alistair Leslie-Hughes <leslie_alistair@hotmail.com>
Signed-off-by: Michael Stefaniuc <mstefani@winehq.org>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-11-29 08:23:02 +01:00
Michael Stefaniuc ce275f38a0 dmstyle: Implement IDirectMusicStyle8_EnumMotif().
Signed-off-by: Michael Stefaniuc <mstefani@winehq.org>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-11-26 22:49:03 +01:00
Michael Stefaniuc e4e3c0b417 dmstyle: Free lists when IDirectMusicStyleImpl is destroyed.
Signed-off-by: Michael Stefaniuc <mstefani@winehq.org>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-11-26 22:49:03 +01:00
Michael Stefaniuc b9a5048108 dmstyle: Move 3 structs where they are used and get rid of typedefs.
Signed-off-by: Michael Stefaniuc <mstefani@winehq.org>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-11-26 22:49:03 +01:00
Michael Stefaniuc 979e3069f2 dmstyle: Avoid capitalized field names in IDirectMusicStyle8Impl.
Signed-off-by: Michael Stefaniuc <mstefani@winehq.org>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-11-26 22:49:03 +01:00
Alistair Leslie-Hughes 21c3ac446d dmstyle: Improved tracing of the DMUS_OBJECTDESC structure.
Signed-off-by: Alistair Leslie-Hughes <leslie_alistair@hotmail.com>
Signed-off-by: Michael Stefaniuc <mstefani@winehq.org>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-11-21 20:46:28 +01:00
Michael Stefaniuc 274427aa6a dmstyle: Implement IsParamSupported() for the Audition track.
Signed-off-by: Michael Stefaniuc <mstefani@winehq.org>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-11-19 23:15:05 +01:00
Alistair Leslie-Hughes de11d172dc dmstyle: Add GUID_IDirectMusicStyle support in Style Track GetParam.
Signed-off-by: Alistair Leslie-Hughes <leslie_alistair@hotmail.com>
Signed-off-by: Michael Stefaniuc <mstefani@winehq.org>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-11-19 23:15:05 +01:00
Michael Stefaniuc f5ad835ec3 dmstyle: The Chord track doesn't support the BandParam type.
Signed-off-by: Michael Stefaniuc <mstefani@winehq.org>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-11-19 23:15:05 +01:00
Michael Stefaniuc 5d11ee2fe0 dmstyle/tests: Check all IDirectMusicTrack8_IsParamSupported() types.
Signed-off-by: Michael Stefaniuc <mstefani@winehq.org>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-11-18 19:12:14 +01:00
Alistair Leslie-Hughes eeca42b32f dmstyle: Free list when Style track is destroyed.
Signed-off-by: Alistair Leslie-Hughes <leslie_alistair@hotmail.com>
Signed-off-by: Michael Stefaniuc <mstefani@winehq.org>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-11-14 21:05:03 +01:00
Michael Stefaniuc ea2b9def61 dmstyle: Rename IDirectMusicTrack8Impl to style_track.
Signed-off-by: Michael Stefaniuc <mstefani@winehq.org>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-11-13 08:39:59 +01:00
Michael Stefaniuc 04ec009eaf dmstyle: Rename IDirectMusicTrack8Impl to mute_track.
Signed-off-by: Michael Stefaniuc <mstefani@winehq.org>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-11-13 08:39:55 +01:00
Michael Stefaniuc f85aa075ff dmstyle: Rename IDirectMusicTrack8Impl to motif_track.
Signed-off-by: Michael Stefaniuc <mstefani@winehq.org>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-11-13 08:39:50 +01:00
Michael Stefaniuc 165449e347 dmstyle: Rename IDirectMusicTrack8Impl to command_track.
Signed-off-by: Michael Stefaniuc <mstefani@winehq.org>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-11-13 08:39:46 +01:00
Michael Stefaniuc acb6fb5a9b dmstyle: Rename IDirectMusicTrack8Impl to chord_track.
Signed-off-by: Michael Stefaniuc <mstefani@winehq.org>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-11-13 08:39:41 +01:00
Michael Stefaniuc 63b2ffe414 dmstyle: Rename IDirectMusicTrack8Impl to audition_track.
Signed-off-by: Michael Stefaniuc <mstefani@winehq.org>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-11-13 08:39:37 +01:00
Alistair Leslie-Hughes 7f469b689a dmstyle: IDirectMusicTrack GetParam add pointer check.
Signed-off-by: Alistair Leslie-Hughes <leslie_alistair@hotmail.com>
Signed-off-by: Michael Stefaniuc <mstefani@winehq.org>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-11-05 23:01:57 +01:00
Alexandre Julliard 33ec6fd86f dmstyle: Build with msvcrt.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-06-03 10:30:30 +02:00
Sven Baars f3e3401a0a dmstyle/tests: Fix a memory leak (Valgrind).
Signed-off-by: Sven Baars <sven.wine@gmail.com>
Signed-off-by: Michael Stefaniuc <mstefani@winehq.org>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-01-23 16:32:01 +01:00
Michael Stefaniuc 6b42be395d dmstyle/tests: Relax a test for a pristine DMStyle object.
Based on a patch by Alex Henrie.

Signed-off-by: Michael Stefaniuc <mstefani@winehq.org>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-12-19 22:11:26 +01:00
Michael Stefaniuc b49cab9a17 dmstyle: Use the ARRAY_SIZE() macro.
Signed-off-by: Michael Stefaniuc <mstefani@winehq.org>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-10-23 22:25:57 +02:00
Michael Stefaniuc dc0725c766 dmstyle: Remove an unused impl_from_ helper.
Signed-off-by: Michael Stefaniuc <mstefani@winehq.org>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-08-14 10:15:59 +02:00
Michael Stefaniuc 55587efd3a dmstyle: Reimplement ParseDescriptor() for DirectMusicStyle.
Signed-off-by: Michael Stefaniuc <mstefani@winehq.org>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-07-16 09:16:31 +02:00
Michael Stefaniuc 7028142771 dmusic: Sync up the dmobject.[ch] files.
Signed-off-by: Michael Stefaniuc <mstefani@winehq.org>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-07-16 09:16:19 +02:00
Michael Stefaniuc 7b5668a6e7 include: Make ARRAY_SIZE() available in wine/test.h.
Signed-off-by: Michael Stefaniuc <mstefani@winehq.org>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-05-25 12:09:17 +02:00
Michael Stefaniuc 6fd5bce038 dmstyle/tests: Avoid a clang warning.
Signed-off-by: Michael Stefaniuc <mstefani@winehq.org>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-03-06 04:40:57 -06:00
Michael Stefaniuc ff4a81b47a dmstyle/tests: Add IDirectMusicObject::ParseDescriptor() tests.
Signed-off-by: Michael Stefaniuc <mstefani@winehq.org>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-02-26 11:27:08 +01:00
Nikolay Sivov f0fb2f16ca dmusic/tests: Use void* instead of void** type value for outer argument.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-04-24 20:30:30 +02:00