Commit Graph

143 Commits

Author SHA1 Message Date
Michael Stefaniuc f42d14fdd0 dmloader/tests: NUL terminate a wide string.
Signed-off-by: Michael Stefaniuc <mstefani@winehq.org>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-07-19 10:36:36 +02:00
Michael Stefaniuc 0f202ac84b dmloader: Initialize a stack variable to avoid erratic test behavior.
Signed-off-by: Michael Stefaniuc <mstefani@winehq.org>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-07-19 10:36:32 +02:00
Michael Stefaniuc ae600c0b2c dmloader/tests: Add some IDirectMusicLoader directory tests.
Signed-off-by: Michael Stefaniuc <mstefani@winehq.org>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-04-27 22:23:20 +02:00
Michael Stefaniuc a69dbd41be dmloader: Return an error for an invalid directory.
Signed-off-by: Michael Stefaniuc <mstefani@winehq.org>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-04-27 22:23:18 +02:00
Michael Stefaniuc 879c428200 dmloader: Cleanup IDirectMusicLoaderImpl_SetSearchDirectory().
and emit a FIXME only if the clear flag is set.

Signed-off-by: Michael Stefaniuc <mstefani@winehq.org>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-04-27 22:23:15 +02:00
Michael Stefaniuc ed6ee0f815 dmloader: Avoid a crash on a NULL string pointer.
Signed-off-by: Michael Stefaniuc <mstefani@winehq.org>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-04-27 22:23:11 +02: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
Fabian Maurer ca0f6c0d51 dmloader: Better error reporting in IDirectMusicLoaderImpl_SetObject.
Signed-off-by: Fabian Maurer <dark.shadow4@web.de>
Signed-off-by: Michael Stefaniuc <mstefani@redhat.de>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-11-21 20:57:06 +01:00
Michael Stefaniuc 149859b002 dmloader: Remove superfluous "IDirectMusicContainer" from method names. 2015-04-28 15:35:38 +09:00
Michael Stefaniuc 8c6c7f6b49 dmloader: Add and use a generic IPersistStream_GetClassID. 2015-04-28 15:35:23 +09:00
Michael Stefaniuc d9e0c9fb82 dmloader/tests: Add more DirectMusicCollection tests. 2015-04-28 15:35:16 +09:00
Michael Stefaniuc ade8d0c158 dmloader: Use the generic DirectMusicObject implementation for DMContainer. 2015-04-28 15:35:06 +09:00
Francois Gouget 41768edec4 dmloader: Remove an unneeded NONAMELESSSTRUCT directive. 2015-03-11 22:10:28 +09:00
Michael Stefaniuc 9d52d8c07d dmloader/tests: Test the return of CoCreateInstance (PVS-Studio). 2015-01-15 14:05:18 +01:00
Michael Stefaniuc 9ab1cfb5e0 dmloader: COM cleanup for IDirectMusicContainer. 2014-06-12 18:05:07 +02:00
Michael Stefaniuc f9e1551e5a dmloader/tests: Test some IPersistStream methods of DMContainer. 2014-06-11 16:11:55 +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 79fe437524 dmloader/tests: Skip the tests if we don't have IDirectMusicLoader8. 2014-03-14 16:14:19 +01:00
Michael Stefaniuc a539e13f23 dmloader/tests: Add COM tests for DirectMusicContainer. 2014-03-13 20:21:58 +01:00
Michael Stefaniuc e1676fc989 dmloader: Don't crash on container destruction if it was never loaded. 2014-03-13 20:21:55 +01:00
Michael Stefaniuc c600be1ff5 dmloader: Pass the object to the IDirectMusicContainer_Release helper. 2014-03-13 11:21:54 +01:00
Michael Stefaniuc 9cb38a4ad0 dmloader: Add COM tests for DirectMusicLoader. 2014-03-13 11:21:51 +01:00
Michael Stefaniuc 82f771e347 dmloader/tests: Centralize the skip(). 2014-03-13 11:21:48 +01:00
Michael Stefaniuc 917d5eabe6 dmloader: None of the COM classes support aggregation. 2014-03-13 11:21:40 +01:00
Michael Stefaniuc 3fef1be56f dmloader/tests: Fix a crash due to a missing audio driver. 2014-01-13 17:37:40 +01:00
Michael Stefaniuc edddda2374 include: There is no need to duplicate CLSID_DirectMusicAudioPathConfig as CLSID_DirectMusicAudioPath.
CLSID_DirectMusicAudioPath is private to Wine and produces the confusion
between the COM objects DirectMusicAudioPath and
DirectMusicAudioPathConfig. But those are totally different things.
2014-01-10 12:09:12 +01:00
Alexandre Julliard 99ef0d6ff0 makefiles: Get rid of the MAKE_TEST_RULES variable. 2014-01-02 12:13:16 +01:00
Alexandre Julliard 5e7416e5c8 makefiles: Get rid of the MAKE_DLL_RULES variable. 2014-01-02 12:08:18 +01:00
Alexandre Julliard d08ff3ff19 makefiles: Use a single variable for all types of idl files. 2013-12-31 18:15:17 +01:00
Alexandre Julliard c7803b885b makefiles: Add makedep pragmas for registration idl files. 2013-11-05 20:38:18 +01:00
Alexandre Julliard f02cdd877f Remove empty DLL_PROCESS_DETACH case statements. 2013-04-15 16:45:35 +02:00
Marcus Meissner b27027ef09 dmloader: Check return of CoCreateInstance (Coverity). 2013-01-08 16:35:34 +01:00
Christian Costa cdf727ebd1 dmloader: Use dump_DMUS_OBJECTDESC to dump data to avoid truncation in TRACE. 2012-12-20 18:29:46 +01:00
Christian Costa b47facb4af dmloader: COM cleanup of IDirectMusicLoader object. 2012-12-18 19:26:26 +01:00
André Hentschel 295ffdfa96 dmloader: Fix sizeof statement (coverity). 2012-11-05 11:14:40 +01:00
Francois Gouget fac36c55e9 Assorted typo, spelling, wording and case fixes. 2012-05-15 16:26:43 +02:00
Andrew Eikum b235edb014 dmloader: Add simple playing test. 2012-03-26 12:41:27 +02:00
Andrew Eikum 5e522a1d1c dmloader: Don't claim partial success when loading fails. 2012-03-26 12:41:27 +02:00
Francois Gouget 2b54a7ee72 dmloader: Remove an unused critical section. 2011-11-14 15:25:27 +01:00
Francois Gouget 3de330db54 tests: Remove unneeded assert.h includes. 2011-09-27 10:59:56 +02:00
Frédéric Delanoy b5a33dab88 dlls: Assorted spelling fixes. 2011-08-02 20:47:51 +02:00
Alexandre Julliard b56dc9a6f7 winecrt0: Remove the clsid parameter in __wine_(un)register_resources. 2011-08-02 20:47:49 +02:00
Michael Stefaniuc 989f39ef32 dmloader: Simplify the module refcount handling. 2011-08-02 11:51:06 +02:00
Michael Stefaniuc 98a36f4694 dmloader: Merge and simplify the IClassFactory implementations. 2011-08-02 11:51:06 +02:00
Marcus Meissner 8d1a9bb535 dmloader: Mark internal symbols with hidden visibility. 2011-05-17 10:19:00 +02:00
Alexandre Julliard 4e4ea3f0a1 dmloader: Convert dll registration to the IRegistrar mechanism. 2010-12-03 14:28:26 +01:00
Alexandre Julliard 81b8ee863e makefiles: Add a standard header for all makefiles to replace the common variable initializations. 2010-09-19 12:36:48 +02:00
Alexandre Julliard b86d515ed6 dlls: Remove explicit imports of kernel32 and ntdll. 2010-07-21 17:38:36 +02:00
Michael Stefaniuc 8a3daa63e0 dmloader: Remove redundant "not NULL" check of the pDesc arg. 2010-05-17 12:42:33 +02:00
Alexandre Julliard bef5645eb1 makefiles: Remove the no longer needed explicit separators for dependencies. 2010-03-16 13:28:19 +01:00