Commit Graph

144 Commits

Author SHA1 Message Date
Michael Stefaniuc 0990abd7b9 dmband: Build without -DWINE_NO_LONG_TYPES.
Signed-off-by: Michael Stefaniuc <mstefani@winehq.org>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-02-09 11:02:12 +01:00
Michael Stefaniuc f586cfa52d dmband/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-09 11:02:12 +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 7bb9d62e70 dmband: Semi-stub IDirectMusicBand CreateSegment.
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:12 +02:00
Myah Caron 2cf69bb5a5 dmband: Avoid cloning stream in parse_bands_list.
A stream that doesn't implement ::Clone can be passed, causing IStream_Seek to crash.

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:15:26 +02:00
Michael Stefaniuc 9d03ce02b4 dmband/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:10 +01:00
Michael Stefaniuc c538d4ad3e dmband: Simplify dump_DMUS_OBJECTDESC() and move it to dmobject.c.
Signed-off-by: Michael Stefaniuc <mstefani@winehq.org>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-12-12 08:32:15 +01:00
Michael Stefaniuc f8f41d8152 dmband: Use only the 'dmfile' debug channel in dmutils.c.
Signed-off-by: Michael Stefaniuc <mstefani@winehq.org>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-12-12 08:32:10 +01:00
Michael Stefaniuc 864e373c75 dmband: Move debugstr_dmguid() to dmobject.c.
Signed-off-by: Michael Stefaniuc <mstefani@winehq.org>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-12-12 08:32:03 +01:00
Michael Stefaniuc bc3d4b5d76 dmband: Move debugstr_fourcc() to dmobject.h.
Signed-off-by: Michael Stefaniuc <mstefani@winehq.org>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-12-12 08:31:55 +01:00
Michael Stefaniuc 2e66404dc9 dmband: Get rid of the redundant debugstr_DMUS_OBJECTDESC().
Signed-off-by: Michael Stefaniuc <mstefani@winehq.org>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-12-10 11:09:48 +01:00
Michael Stefaniuc d191c5ca18 dmband: Add partial implementation of Band track GetParam/SetParam.
Signed-off-by: Michael Stefaniuc <mstefani@winehq.org>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-12-10 11:09:48 +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 7d534d8299 dmband/tests: Check all IDirectMusicTrack_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 9f90994b2f dmband: Rename IDirectMusicTrack8Impl to band_track.
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-11 12:44:47 +01:00
Alistair Leslie-Hughes 070cfc358c dmband: Handle the DirectX 7 version of DMUS_IO_INSTRUMENT 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-08 23:39:13 +01:00
Alistair Leslie-Hughes 422c4fbf71 dmband: Simplify DllGetClassObject.
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-10-29 23:30:47 +01:00
Alexandre Julliard 1ee20cf33b dmband: Build with msvcrt.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-05-31 08:59:28 +02:00
Sven Baars d1f00a17aa dmband/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:31:54 +01:00
Michael Stefaniuc 94c74a045f dmband: 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:34 +02:00
Michael Stefaniuc 9348c093d4 dmband: Reimplement ParseDescriptor() for DirectMusicBand.
Signed-off-by: Michael Stefaniuc <mstefani@winehq.org>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-07-16 09:16:24 +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 0994e22932 dmband/tests: Add IDirectMusicObject::ParseDescriptor() tests.
Signed-off-by: Michael Stefaniuc <mstefani@winehq.org>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-02-27 10:28:12 +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
Michael Stefaniuc 18d72bd8ca dmband: Add missing TRACE to QI. 2015-06-29 19:07:50 +09:00
Michael Stefaniuc b79f81ad90 dmband: Use the generic IPersistStream implementation from dmobject. 2015-06-26 20:35:04 +09:00
Michael Stefaniuc 1093fa282e dmband: Remove the extraneous IUnknown from DMBandTrack. 2015-06-26 20:34:48 +09:00
Michael Stefaniuc 70eadcd543 dmband: COM cleanup for IDirectMusicTrack8. 2015-06-26 20:34:25 +09:00
Michael Stefaniuc 367ee6caa9 dmband: Pass objects instead of ifaces to helpers. 2015-06-26 14:14:33 +09:00
Michael Stefaniuc 8fae7fd4cc dmband/tests: Add some basic IDirectMusicTrack8 tests. 2015-06-25 14:29:39 +09:00
Michael Stefaniuc 6cbd743b30 dmband: Implement the E_NOTIMPL methods of IDirectMusicTrack8. 2015-06-25 14:29:38 +09:00
Michael Stefaniuc 6e98db3d45 dmband: IsParamSupported method doesn't crashes on NULL. 2015-06-25 14:29:38 +09:00
Bruno Jesus 0030353082 dmband: Don't fake success on IDirectMusicUtils_IPersistStream_ParseReference. 2015-06-16 16:50:56 +09:00
Michael Stefaniuc 7bb3e79363 dmband/tests: Add IPersistStream tests for DMBandTrack. 2015-06-15 15:29:04 +09:00
Michael Stefaniuc 3f0bd65269 dmband: Use the generic DirectMusicObject implementation for DMBand. 2015-06-15 15:29:04 +09:00
Michael Stefaniuc 6ac784ee82 dmband: Pass the object instead of the iface to helpers. 2015-06-15 15:29:04 +09:00
Michael Stefaniuc 468cb274d1 dmband/tests: Remove an unused assigment (PVS-Studio). 2015-01-15 14:05:09 +01:00
Michael Stefaniuc c3e753c20b dmband: Move struct definitions to the .c files that uses them. 2014-06-11 19:15:22 +02:00
Michael Stefaniuc 32699d6f66 dmband/tests: Test some IPersistStream methods of DMBand. 2014-06-11 12:59:38 +02:00
Alexandre Julliard 7d3559bfe9 dxguid: Remove some symbols that aren't exported in native. 2014-04-24 12:41:38 +02:00
Michael Stefaniuc c1b3b58eac dmband: Remove the extraneous IUnknown from DirectMusicBand.
Also lock/unlock the module only on creation/destruction of the object.
2014-01-30 10:35:18 +01:00
Michael Stefaniuc 868ad7dc72 dmband: COM cleanup for IDirectMusicBand. 2014-01-30 10:35:15 +01:00
Michael Stefaniuc 0d94b4b0f0 dmband: Store the iface instead of the COM object in _DMUS_PRIVATE_BAND. 2014-01-30 10:35:13 +01:00
Michael Stefaniuc fa9e47812c dmband: Remove the redundant "IDirectMusicBand" from method names. 2014-01-30 10:35:10 +01:00
Michael Stefaniuc e2ced54e2b dmband/tests: Use the standard COM tests for DirectMusicBandTrack. 2014-01-30 10:35:05 +01:00
Michael Stefaniuc 2c6b86418d dmband/tests: Add COM tests for DirectMusicBand. 2014-01-30 10:35:01 +01:00
Michael Stefaniuc 7012235479 dmband/tests: Move the dll availability check to a separate function. 2014-01-30 10:34:58 +01:00