Commit Graph

446 Commits

Author SHA1 Message Date
Michael Stefaniuc 33f1de3ed7 dplayx: Use wide-char string literals.
Signed-off-by: Michael Stefaniuc <mstefani@winehq.org>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-10-01 11:47:10 +02:00
Alistair Leslie-Hughes 982137f73f dplayx: Copy the correct Short name variable.
Signed-off-by: Alistair Leslie-Hughes <leslie_alistair@hotmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-10-21 17:11:43 +02:00
Francois Gouget 22558e1d18 dplayx: A spelling fix in a FIXME() message.
Signed-off-by: Francois Gouget <fgouget@free.fr>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-08-08 17:53:36 +02:00
Alexandre Julliard 5e5a48469c dplayx: Build with msvcrt.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-06-03 10:31:26 +02:00
Michael Stefaniuc 3d67641d5d dplayx: Use the ARRAY_SIZE() macro.
Signed-off-by: Michael Stefaniuc <mstefani@winehq.org>
Signed-off-by: Alistair Leslie-Hughes <leslie_alistair@hotmail.com><mailto:leslie_alistair@hotmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-09-11 11:12:06 +02:00
Huw Davies 18e532d645 dplayx: Prevent out-of-bounds access to lpMemArea.
Based on a patch by Andrey Gusev.

Signed-off-by: Huw Davies <huw@codeweavers.com>
Signed-off-by: Alistair Leslie-Hughes <leslie_alistair@hotmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-05-31 20:00:38 +02:00
Michael Stefaniuc 589a577416 dplayx/tests: Use the available ARRAY_SIZE() macro.
Signed-off-by: Michael Stefaniuc <mstefani@winehq.org>
Signed-off-by: Alistair Leslie-Hughes <leslie_alistair@hotmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-05-29 10:00:43 +02:00
Hans Leidekker ca9ca79d12 dplayx/tests: Remove the firewall exception after running the tests.
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alistair Leslie-Hughes <leslie_alistair@hotmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-12-13 21:29:33 +01:00
Alistair Leslie-Hughes 6a6f3365fe dplayx: Implement IDirectPlayLobby3 EnumAddressTypes.
Signed-off-by: Alistair Leslie-Hughes <leslie_alistair@hotmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-06-09 11:27:41 +02:00
Alistair Leslie-Hughes 2ef274b608 dplayx: Implement IDirectPlay4 EnumConnections.
Signed-off-by: Alistair Leslie-Hughes <leslie_alistair@hotmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-06-09 11:27:33 +02:00
Alistair Leslie-Hughes 9e37dd3229 dplayx/tests: Remove some wine_todo.
Signed-off-by: Alistair Leslie-Hughes <leslie_alistair@hotmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-06-06 16:32:12 +02:00
Alistair Leslie-Hughes 4f4b3be50c dplayx: First name server address may be null.
Signed-off-by: Alistair Leslie-Hughes <leslie_alistair@hotmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-06-06 16:32:04 +02:00
Nikolay Sivov 3998052ca6 dplayx/tests: Added missing assignment (Coverity).
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alistair Leslie-Hughes <leslie_alistair@hotmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-05-16 12:09:10 +02:00
Michael Stefaniuc 250d65d68c dplayx/tests: Use a void* instead of void** outer IUnknown argument.
Signed-off-by: Michael Stefaniuc <mstefani@winehq.org>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-04-25 14:46:45 +02:00
Alistair Leslie-Hughes e16abdfad1 dplayx/tests: Free IDirectPlayLobby objects.
Signed-off-by: Alistair Leslie-Hughes <leslie_alistair@hotmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-03-06 21:01:31 +01:00
Alistair Leslie-Hughes 2bb3636a14 dplayx: Skip over unknown DataTypes guids in EnumAddressTypes.
Signed-off-by: Alistair Leslie-Hughes <leslie_alistair@hotmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-03-06 21:01:27 +01:00
Alistair Leslie-Hughes 8952040a0e dpwsockx: Implementation of GetCaps callback.
Based on patch by Ismael Barros.

Signed-off-by: Alistair Leslie-Hughes <leslie_alistair@hotmail.com>
Signed-off-by: Bruno Jesus <bjesus@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-03-01 10:28:43 +01:00
Alistair Leslie-Hughes 00f6588c72 dplayx/tests: Fix memory leaks (valgrind).
Signed-off-by: Alistair Leslie-Hughes <leslie_alistair@hotmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-02-22 11:32:21 +01:00
Alistair Leslie-Hughes 7603e859c3 dplayx: Don't print an error when no Lobby Providers are found.
Signed-off-by: Alistair Leslie-Hughes <leslie_alistair@hotmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-02-17 20:54:08 +01:00
Alistair Leslie-Hughes 52d5e868f3 dplayx/tests: DirectPlay IPX support was removed in Vista.
Signed-off-by: Alistair Leslie-Hughes <leslie_alistair@hotmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-02-17 20:54:07 +01:00
Alistair Leslie-Hughes cad9f2dbd7 dplayx/tests: Skip tests if dplayx is a stub dll or firewall is enabled.
Signed-off-by: Alistair Leslie-Hughes <leslie_alistair@hotmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-02-16 19:08:38 +01:00
Michael Stefaniuc 7ae50b230d dplayx: Fix multiple assigments to the same lvalue (coccinellery).
Signed-off-by: Michael Stefaniuc <mstefani@redhat.de>
Signed-off-by: Alistair Leslie-Hughes <leslie_alistair@hotmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-02-15 16:33:54 +01:00
Nikolay Sivov 6d4a07077d dplayx: Fix its vs it's typo.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-08-03 09:56:19 -05:00
Nikolay Sivov bd9701add8 dplayx: Fix a possible memory leak on error path (Coverity).
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2015-11-23 23:35:12 +09:00
Michael Stefaniuc 9f6bf52ff1 dplayx: Avoid shadowing a variable used in loop control (PVS-Studio).
Signed-off-by: Michael Stefaniuc <mstefani@redhat.de>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2015-10-13 22:24:44 +09:00
Andrey Gusev d3177504b1 Assorted spelling and typos fixes. 2015-08-31 20:18:46 +09:00
Francois Gouget abd2c7265b dplayx: Remove unneeded NONAMELESSSTRUCT directives. 2015-03-11 22:10:30 +09:00
Bruno Jesus 2d08038bac dplayx: Cache GUID values so they persist after enumeration. 2015-01-16 17:36:03 +01:00
Alistair Leslie-Hughes 60db3a4a86 dplayx: Fix some crashes and wine_todo's. 2014-10-31 12:57:47 +09:00
Alistair Leslie-Hughes e95f42fca4 dplayx: Initial msgtid variable (Valgrind). 2014-05-07 10:26:37 +02:00
Thomas Faber 4b1fb32d9d dplayx: Fix broken pointer arithmetic. 2014-03-25 13:55:43 +01:00
Frédéric Delanoy 7e17eec750 dplayx: Use BOOL type where appropriate. 2014-02-27 09:26:28 -06:00
Andrey Gusev add85f4687 Assorted typos fixes. 2014-02-12 19:15:32 +01:00
Frédéric Delanoy 5332d0e5ab dplayx/tests: Use common wine_dbgstr_guid implementation from test.h. 2014-01-28 11:45:01 +01:00
Nikolay Sivov acea0eea5d dlls: Print HRESULT as 32bit value. 2014-01-28 10:52:12 +01:00
Frédéric Delanoy 7a28ce245d dplayx: Avoid TRUE:FALSE conditional expressions. 2014-01-13 17:37:03 +01:00
Frédéric Delanoy eecc2f8b72 dplayx: Remove "#if 1" preprocessor directives. 2014-01-13 17:37:00 +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 55e44092bd makefiles: Remove useless definitions of COM_NO_WINDOWS_H. 2013-10-14 16:05:31 +02:00
Michael Stefaniuc 2e1708dc1b tests: Readying some tests for the compilation with -D__WINESRC__. 2013-10-02 11:03:26 +02:00
Michael Stefaniuc e22d33e683 dplayx/tests: Fix typo in ok() message. 2013-09-27 10:33:49 +02:00
Michael Stefaniuc b80ab33571 dplayx: Simplify the creation of an IDirectPlaySPImpl object. 2013-09-05 13:18:23 +02:00
Michael Stefaniuc a3ba1b8ff0 dplayx: Finish the COM cleanup for IDirectPlaySP. 2013-09-05 13:18:23 +02:00
Michael Stefaniuc 11756086b4 dplayx: Merge the extra struct into IDirectPlaySPImpl. 2013-09-05 13:18:23 +02:00
Michael Stefaniuc 95fcb49503 dplayx: Remove the unused lock from IDirectPlaySPImpl. 2013-09-05 13:18:23 +02:00
Michael Stefaniuc 07e5975797 dplayx: Remove commented out TRACEs that mimic +tid functionality. 2013-09-05 13:18:23 +02:00
Michael Stefaniuc 744f94be4a dplayx: Simplify ref-counting for IDirectPlaySP. 2013-09-05 13:18:23 +02:00