Commit Graph

189 Commits

Author SHA1 Message Date
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
Alexandre Julliard 6164ce2d82 makefiles: Use the standard C_SRCS variable as the list of test files.
This enables it to be auto-updated by make_makefiles.
2010-02-22 10:47:11 +01:00
David Adam 5e39af2683 dmloader: Fix a possible null dereference. 2010-01-06 10:47:42 +01:00
Marcus Meissner 6891b96364 dmloader: pObject NULL checks are not necessary (Coverity). 2009-12-11 12:16:26 +01:00
Francois Gouget 96848a0605 Remove spaces before '\n's. 2009-03-09 12:05:58 +01:00
Marcus Meissner 2aebb568a8 dmloader: Fixed some pointer read/write checks (Coverity). 2009-02-02 15:21:44 +01:00
Michael Stefaniuc 4b50a4c670 dmloader: Remove superfluous pointer casts. 2009-01-13 15:25:43 +01:00
Francois Gouget 2166afceb7 Assorted spelling fixes. 2008-12-29 11:36:49 +01:00
Francois Gouget fae2edb91e dmloader: Add a trailing '\n' to a Wine trace. 2008-12-17 15:27:24 +01:00
Hans Leidekker 63aff890d7 janitorial: Remove unneeded user32 imports. 2008-12-17 11:38:36 +01:00
Hans Leidekker 8bd9a3aa09 janitorial: Don't depend on user32 for the self registration functions. 2008-12-17 11:38:32 +01:00
Alexandre Julliard 02bfacff5a dmloader: Make some functions static. 2008-12-03 12:12:34 +01:00
Alexandre Julliard 72f3e3d483 dmloader: Remove an unused function. 2008-12-03 12:12:21 +01:00
Francois Gouget b362db0327 dmloader: Remove WINAPI on static functions where not needed. 2008-12-01 12:44:46 +01:00
Michael Stefaniuc b609a5c037 dmloader: Do not cast NULL. 2008-11-03 13:41:49 +01:00
Andrew Talbot 7b24ee7d1b dmloader: Sign-compare warning fix. 2008-07-31 13:39:41 +02:00
Alexandre Julliard aa68258b7a Fix a few %ll printf formats. 2008-06-30 12:50:07 +02:00
Alexandre Julliard dad21bbcbf makefiles: List the static libraries as normal imports instead of extra libs. 2008-04-30 14:23:55 +02:00
Austin English b4f52938e4 Spelling fixes. 2008-04-02 23:18:21 +02:00
Rob Shearman 5dd2f1efa8 Include config.h and wine/port.h in files that use snprintf. 2008-02-29 12:39:28 +01:00
Andrew Talbot 4cd6ef739d dmloader: Assign to structs instead of using memcpy. 2008-02-25 13:27:27 +01:00
Andrew Talbot 9e55f92b29 dmloader: Remove unneeded casts. 2007-12-08 19:54:00 +01:00
Stefan Leichter 63a3d8718e dmloader: Remove 'recursive registry key delete' function. 2007-09-11 11:49:52 +02:00
Michael Stefaniuc 4a0ad1d0c5 dmloader: Do not use wide character constants. 2007-06-22 12:19:03 +02:00
Alexandre Julliard 7718d2bd7c dmusic: Fix license headers that mistakenly use GPL instead of LGPL.
Confirmed by the original author and the major contributors.
2007-05-30 12:54:07 +02:00
Andrew Talbot b19be8870c dmloader: Constify some variables. 2007-04-25 11:50:20 +02:00
Jan Zerebecki 70f6afdc9c dmloader: Add DebugInfo to critical sections. 2007-03-12 13:41:16 +01:00
Francois Gouget aab5e5856e Don't put single quotes around '%s' when using the debugstr_*() functions. 2007-01-18 12:55:50 +01:00
Michael Stefaniuc 22684cc767 janitorial: Remove stray '\' at end of lines. 2007-01-09 12:04:26 +01:00
Andrew Talbot b530ac97fb dmloader: Declare some functions static. 2007-01-05 18:24:29 +01:00
Andrew Talbot e6a0a09b88 dmloader: Dangling references fix. 2006-12-11 12:16:42 +01:00
Michael Stefaniuc 187b6ed9b9 dmloader: Win64 printf format warning fixes. 2006-10-12 21:42:58 +02:00
Francois Gouget 5d6ab30c58 dmloader: Modify the debugstr_DMUS_* functions to return strings that never end with a '\n'. 2006-10-06 17:29:32 +02:00
Michael Stefaniuc 85ce5117c5 Add a WINE_NO_LONG_INT define to many makefiles to ease the transition of DWORD/LONG/ULONG from long to int. 2006-09-29 16:08:30 +02:00
Stefan Leichter 0eab042890 dmloader: Print 64bit integers with wine_dbgstr_longlong. 2006-09-20 11:18:56 +02:00
Alexandre Julliard 32ab895e46 makefiles: Generate the dependencies line to avoid some code duplication. 2006-09-14 09:38:16 +02:00
Alexandre Julliard eb8a40c368 libs: Merged libwine_unicode into libwine.
Most dlls use libwine_unicode at this point, so there's nothing to
gain by having two separate libraries.
2006-07-11 19:33:22 +02:00
Alexandre Julliard 77dc0d9be5 .gitignore: Added wildcards to ignore generated resource files. 2006-07-10 21:39:00 +02:00
Alexandre Julliard cc2b3b48e6 Take advantage of the recursive nature of .gitignore for Makefile entries.
Prefix other entries with '/' to make them non-recursive.
2006-07-10 20:47:54 +02:00
Paul Vriens 8f143f190c Use the return value of register_key_guid. 2006-06-30 21:08:07 +02:00
Alexandre Julliard 12179978fb dmloader: Make the virtual table functions static where possible. 2006-06-10 11:56:03 +02:00
Alexandre Julliard 9ca8a86914 Link against libwine_unicode everywhere we use Unicode functions. 2006-05-24 18:05:40 +02:00
Jonathan Ernst 360a3f9142 Update the address of the Free Software Foundation. 2006-05-23 14:11:13 +02:00
Robert Shearman 74407105d2 Check the return value from register_key_guid in all the DLL registering code. 2006-05-10 19:38:04 +02:00
Alexandre Julliard 0ec7e1a591 Renamed all .cvsignore files to .gitignore. 2005-11-26 13:10:33 +01:00
Christian Costa 110cca72e6 Add some checks and fix some stream leaks. 2005-11-08 10:56:13 +00:00
Alexandre Julliard 7e22be4d84 We are no longer generating .dbg.c files. 2005-09-29 10:35:58 +00:00
Francois Gouget 1de5d3cc7f Correct more mismatches between spec files and comments about export
number.
2005-08-10 14:45:58 +00:00
Vincent Béron 21e3ba8cd1 Correct mismatches between spec files and comments about export
number.
2005-08-10 09:53:47 +00:00
Alexandre Julliard d37f0abf07 Don't prefix the functions DllCanUnloadNow, DllGetClassObject and
Dll(Un)RegisterServer with the dll name so that the compiler can check
the prototypes.
2005-08-08 17:35:28 +00:00
Alexandre Julliard b8d3075d83 Uncomment the typedef in the DECLARE_INTERFACE macro, and get rid of
duplicate typedefs.
2005-07-26 18:32:53 +00:00
Alexandre Julliard 85c9283f50 Don't generate import libraries for dlls that don't export anything. 2005-07-26 15:52:58 +00:00
Mike McCormack c7fdb4565a Fix gcc 4.0 -Wpointer-sign warnings. 2005-07-05 11:02:54 +00:00
Alex Villacís Lasso a63de8d249 Avoid one more access to pcbRead. 2005-06-14 11:38:09 +00:00
Alex Villacís Lasso 4a109c7818 Prevent crash on IDirectMusicLoaderResourceStream_IStream_Read. 2005-06-13 19:05:01 +00:00