Commit Graph

124 Commits

Author SHA1 Message Date
Hans Leidekker 0aaf1d9f6c dpnet/tests: Register firewall exceptions for the server test.
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-12-09 19:21:52 +01:00
Hans Leidekker 7e7ad5a79d dpnet/tests: Register a firewall exception for the client test.
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-12-09 19:21:51 +01:00
Hans Leidekker e017d9bcd4 dpnet/tests: Skip tests if dpnet is a stub dll.
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-12-09 19:21:46 +01:00
Hans Leidekker a24b8b2b3d dpnet/tests: Merge peer.c into client.c.
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-12-09 19:21:20 +01:00
Alistair Leslie-Hughes 5cd33bf892 dpnet: Header files cleanup.
Stops error of SOCKADDR being redefined on older compilers.

Signed-off-by: Alistair Leslie-Hughes <leslie_alistair@hotmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-11-17 14:07:48 -06:00
Alistair Leslie-Hughes db003d4a08 dpnet: Initialize winsock.
Signed-off-by: Alistair Leslie-Hughes <leslie_alistair@hotmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-11-03 17:18:18 +01:00
Alistair Leslie-Hughes eef69511f5 dpnet: Close resets back to an uninitialized state.
Signed-off-by: Alistair Leslie-Hughes <leslie_alistair@hotmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-11-03 17:15:42 +01:00
Alistair Leslie-Hughes 7fb80b9029 dpnet: Correctly initialize the DPN_SP_CAPS structure.
Signed-off-by: Alistair Leslie-Hughes <leslie_alistair@hotmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-11-03 17:14:47 +01:00
Alistair Leslie-Hughes 5183ebd8ab dpnet: Implement IDirectPlay8LobbyClient Initialize.
Signed-off-by: Alistair Leslie-Hughes <leslie_alistair@hotmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-11-01 20:32:57 +01:00
Alistair Leslie-Hughes 5f797e6c34 dpnet: Semi-stub IDirectPlay8Server SetServerInfo.
Signed-off-by: Alistair Leslie-Hughes <leslie_alistair@hotmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-11-01 20:32:57 +01:00
Alistair Leslie-Hughes 7a71a6a858 dpnet: Semi-stub IDirectPlay8Client SetClientInfo.
Signed-off-by: Alistair Leslie-Hughes <leslie_alistair@hotmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-11-01 20:32:57 +01:00
Alistair Leslie-Hughes ac5418b185 dpnet: Semi-stub IDirectPlay8Peer SetPeerInfo.
Signed-off-by: Alistair Leslie-Hughes <leslie_alistair@hotmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-11-01 20:32:56 +01:00
Alistair Leslie-Hughes 7c609f07b4 dpnet: Correct GetComponentByName to return the correct buffer size.
Signed-off-by: Alistair Leslie-Hughes <leslie_alistair@hotmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-10-13 18:11:14 +02:00
Alistair Leslie-Hughes 54633e3956 dpnet: Don't leak entry name.
Signed-off-by: Alistair Leslie-Hughes <leslie_alistair@hotmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2015-10-29 22:32:45 +09:00
Alistair Leslie-Hughes 817db8e361 dpnet: Don't return partially initialized object. 2015-06-26 20:35:07 +09:00
Alistair Leslie-Hughes 275364d919 dpnet: Correct adding components in Duplicate. 2015-06-23 19:18:38 +09:00
Alistair Leslie-Hughes 4f15cc4d1a dpnet: Implement IDirectPlay8Address GetComponentByIndex. 2015-06-09 22:09:58 +09:00
Alistair Leslie-Hughes f2aa42de09 dpnet: Convert Address components to use an array. 2015-04-14 22:14:45 +09:00
Alistair Leslie-Hughes 63c7fd2a63 dpnet: Correct usage of memcpy in GetComponentByName. 2015-03-06 20:31:59 +09:00
Alistair Leslie-Hughes b779dee768 dpnet: Always update type since it might change. 2015-03-06 20:31:59 +09:00
Alistair Leslie-Hughes 4299da0d7c dpnet: Free previous allocated data. 2015-03-06 20:31:59 +09:00
Alistair Leslie-Hughes a5d3125395 dpnet: Add check for mismatched string lengths. 2015-03-06 20:31:58 +09:00
Nikolay Sivov 552d9f3631 dpnet/tests: Fix a test failure caused by uninitialized argument. 2014-11-05 20:38:03 +09:00
Alistair Leslie-Hughes a235e86316 dpnet: Implement IDirectPlay8Address GetComponentByName. 2014-10-29 21:02:41 +09:00
Alistair Leslie-Hughes 7dcfb9d3e5 dpnet: Implement IDirectPlay8Address Duplicate. 2014-09-29 10:37:05 +02:00
Francois Gouget d83f2ac0ec dpnet/tests: Add a trailing '\n' to some ok() calls. 2014-09-29 10:36:20 +02:00
Alistair Leslie-Hughes f23b46464e dpnet: Show SetSP adds a component. 2014-09-26 09:56:20 +02:00
Alistair Leslie-Hughes 9a5a5a365e dpnet: Implement IDirectPlay8Address AddComponent. 2014-09-26 09:56:11 +02:00
Francois Gouget 345b8d0e26 dpnet/tests: Make test_lobbyclient() static. 2014-09-11 13:48:42 +02:00
Alexandre Julliard e98eee8ad8 dpnet: Add a missing coclass registration. 2014-09-10 21:36:53 +02:00
Alistair Leslie-Hughes 45c1d7c745 dpnet: Stub interface IDirectPlay8LobbyClient. 2014-09-09 19:51:47 +02:00
Alistair Leslie-Hughes 8c9a145f25 dpnet/tests: Correct memory leak (valgrind). 2014-05-24 11:05:14 +09:00
Alistair Leslie-Hughes d9ae2b828e dpnet: Implement IDirectPlay8LobbiedApplication Initialize. 2014-05-13 13:47:06 +02:00
Alistair Leslie-Hughes b01fc1aa6e dpnet: Implement IDirectPlay8Client GetSPCaps. 2014-05-09 20:03:44 +02:00
Alistair Leslie-Hughes 329c70d9b8 dpnet: Store DPN_SP_CAPS as part of the object. 2014-05-09 20:03:43 +02:00
Alistair Leslie-Hughes 0d8f86c66d dpnet: Implement IDirectPlay8Client Initialize. 2014-05-08 11:20:54 +02:00
Alistair Leslie-Hughes 594c4ea392 dpnet/tests: Add IDirectPlay8Client tests. 2014-05-08 11:20:39 +02:00
Francois Gouget b95b044bff dpnet/tests: Add a trailing '\n' to an ok() call. 2014-05-02 17:15:25 +02:00
Alistair Leslie-Hughes 91414e8ef8 dpnet: Cleanup IDirectPlay8Address. 2014-04-30 14:32:33 +02:00
Alistair Leslie-Hughes c41d275079 dpnet: Improve error checking in Get/Set SP. 2014-04-24 12:34:03 +02:00
Alistair Leslie-Hughes daac5b1f41 dpnet/tests: Use dxguid for tests. 2014-04-24 12:34:02 +02:00
Alistair Leslie-Hughes bf681bff2e dpnet: Add pointer tests and checks in EnumServiceProvider. 2014-02-26 09:26:35 -06:00
Alistair Leslie-Hughes 2c6ce9a02f dpnet: Add DirectPlay8 registry keys. 2014-02-12 19:15:17 +01:00
Francois Gouget c92f773a3d dpnet/tests: Add a trailing '\n' to an ok() call. 2014-02-12 19:15:15 +01:00
Alistair Leslie-Hughes d3b1407982 dpnet/tests: Add IDirectPlay8Peer_EnumHosts tests. 2014-02-11 19:19:15 +01:00
Alistair Leslie-Hughes 1500a8a937 dpnet/tests: Add DirectPlay8Server tests. 2014-02-11 19:19:15 +01:00
Alistair Leslie-Hughes d34b75a887 dpnet: Implement IDirectPlay8Server Initialize. 2014-02-04 16:02:28 +01:00
Alistair Leslie-Hughes 658a5f450b dpnet: Store information when Initialize is called. 2014-02-04 16:02:25 +01:00
Alistair Leslie-Hughes 9b68329429 dpnet: Cleanup IDirectPlay8Client. 2014-02-04 16:01:26 +01:00
Francois Gouget a6a5273959 dpnet/tests: Add a trailing '\n' to an ok() call. 2014-01-30 15:00:38 +01:00