Alistair Leslie-Hughes
f934c8879a
dpnet/tests: Remove DECLSPEC_HIDDEN usage.
2023-06-28 18:57:56 +02:00
Alistair Leslie-Hughes
d17796bcd1
dpnet: Remove DECLSPEC_HIDDEN usage.
2023-06-27 22:14:15 +02:00
Francois Gouget
cde58336b5
dpnet/tests: Fix the unexpected async handle traces.
2023-02-14 20:57:09 +01:00
Alex Henrie
f6f89bf67d
dpnet: Remove unused function heap_strdupW.
2022-11-17 09:58:10 +01:00
Alex Henrie
e2d94b5cdf
dpnet: Use standard C functions for memory allocation in server.c.
2022-11-17 09:58:10 +01:00
Alex Henrie
8ef070b6c2
dpnet: Use standard C functions for memory allocation in peer.c.
2022-11-17 09:58:09 +01:00
Alex Henrie
a407ba9fe1
dpnet: Use standard C functions for memory allocation in client.c.
2022-11-17 09:58:09 +01:00
Alex Henrie
26be4fb926
dpnet: Use standard C functions for memory allocation in address.c.
2022-11-16 10:11:54 +01:00
Francois Gouget
fd64cbc02e
dpnet/tests: Mark the test_enum_hosts*() tests failing randomly on Windows as flaky.
...
Wine-Bug: https://bugs.winehq.org//show_bug.cgi?id=53239
2022-10-10 11:01:22 +02:00
Eric Pouech
2c878d54d4
dpnet/tests: Enable compilation with long types.
...
Signed-off-by: Eric Pouech <eric.pouech@gmail.com>
Signed-off-by: Alistair Leslie-Hughes <leslie_alistair@hotmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-02-25 11:53:30 +01:00
Eric Pouech
e32c74d85f
dpnet/tests: Use correct integral type.
...
Signed-off-by: Eric Pouech <eric.pouech@gmail.com>
Signed-off-by: Alistair Leslie-Hughes <leslie_alistair@hotmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-02-25 11:53:28 +01:00
Alistair Leslie-Hughes
ca90b902bc
dpnet: Fix long types printf warnings.
...
Signed-off-by: Alistair Leslie-Hughes <leslie_alistair@hotmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-02-02 12:28:43 +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
Michael Stefaniuc
3a54b3413d
dpnet: Don't assign a COM object to the 3rd param of QueryInterface.
...
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>
2021-08-31 10:55:16 +02:00
Alexandre Julliard
b95cc68894
dpnet: Fix short buffer check also for the A case.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-08-26 21:48:47 +02:00
Alistair Leslie-Hughes
7a4237fd25
dpnet: Implement IDirectPlay8Address GetURLW/A.
...
Signed-off-by: Alistair Leslie-Hughes <leslie_alistair@hotmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-08-25 11:04:17 +02:00
Alistair Leslie-Hughes
d4565f1541
dpnet: Implement IDirectPlay8Server EnumServiceProviders.
...
Signed-off-by: Alistair Leslie-Hughes <leslie_alistair@hotmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-08-24 19:53:55 +02:00
Francois Gouget
c0198a6561
dpnet: Fix an ASCII / ANSI mixup in a warning message.
...
Signed-off-by: Francois Gouget <fgouget@free.fr>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-08-24 12:14:24 +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
Alexandre Julliard
bd6b53740c
winecrt0: Add a default implementation for DllCanUnloadNow().
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-04-30 22:59:50 +02:00
Michael Stefaniuc
ffa8f64889
dpnet: Use wide-char string literals.
...
Signed-off-by: Michael Stefaniuc <mstefani@winehq.org>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-11-18 20:28:05 +01:00
Alistair Leslie-Hughes
96b1c96c88
dpnet: Initialize size before call to RegGetValueW (Coverity).
...
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
Alistair Leslie-Hughes
924eb40506
dpnet: Report no programs found in IDirectPlay8LobbyClient EnumLocalPrograms.
...
Signed-off-by: Alistair Leslie-Hughes <leslie_alistair@hotmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-10-03 00:45:53 +02:00
Alistair Leslie-Hughes
c2a8f3d8a0
dpnet: Remove dead code (Coverity).
...
Signed-off-by: Alistair Leslie-Hughes <leslie_alistair@hotmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-06-17 21:34:02 +02:00
Alexandre Julliard
c80ad80a92
dpnet: Build with msvcrt.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-06-03 10:32:20 +02:00
Alistair Leslie-Hughes
598b52ce38
dpnet: Implement IDirectPlay8Client SetSPCaps.
...
Signed-off-by: Alistair Leslie-Hughes <leslie_alistair@hotmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-08-29 22:01:38 +02:00
Alistair Leslie-Hughes
069897ad9f
dpnet: Implement IDirectPlay8Peer SetSPCaps.
...
Signed-off-by: Alistair Leslie-Hughes <leslie_alistair@hotmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-08-27 10:57:39 +02:00
Michael Stefaniuc
be5517a348
dpnet: Use the 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-08-14 09:39:12 +02:00
Alistair Leslie-Hughes
2f3594c1dc
dpnet: Use the global HeapAlloc() wrappers.
...
Signed-off-by: Alistair Leslie-Hughes <leslie_alistair@hotmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-01-30 10:00:03 +01:00
Nikolay Sivov
32ea1f0b8c
dpnet/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:11 +02:00
Nikolay Sivov
9e186fcf09
dpnet/tests: Added missing break (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-01 19:29:14 +02:00
Nikolay Sivov
25de063ec0
dpnet/tests: Fix free buffer access (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-01 19:29:14 +02:00
Alistair Leslie-Hughes
072c58e322
dpnet: Share message handler between IDirectPlay8ThreadPool objects.
...
Signed-off-by: Alistair Leslie-Hughes <leslie_alistair@hotmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-03-29 10:29:11 +02:00
Alistair Leslie-Hughes
cc93ec15c0
dpnet/tests: Add EnumHosts synchronous tests.
...
Signed-off-by: Alistair Leslie-Hughes <leslie_alistair@hotmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-03-17 19:01:27 +01:00
Alistair Leslie-Hughes
4239e2156b
dpnet/tests: Show that async handlers are per object.
...
Signed-off-by: Alistair Leslie-Hughes <leslie_alistair@hotmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-03-17 19:00:40 +01:00
Alistair Leslie-Hughes
1bca8df8cb
dpnet/tests: Stop thread test from failing.
...
Signed-off-by: Alistair Leslie-Hughes <leslie_alistair@hotmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-03-14 20:04:25 +01:00
Alistair Leslie-Hughes
83cce966f4
dpnet: Handle unknown service GUID in enum_services_providers.
...
Signed-off-by: Alistair Leslie-Hughes <leslie_alistair@hotmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-02-24 11:10:40 +01:00
Alistair Leslie-Hughes
1f788c0314
dpnet/tests: Add tests to show IDirectPlay8ThreadPool is a singleton object.
...
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
Alistair Leslie-Hughes
da5e8d0887
dpnet: Implement IDirectPlay8Thread Initialize.
...
In order to get the tests to pass, msghandler needed
to be reset in Close.
Signed-off-by: Alistair Leslie-Hughes <leslie_alistair@hotmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-02-15 22:58:48 +01:00
Alistair Leslie-Hughes
960b48f4e7
dpnet: Add basic validation in IDirectPlay8Peer EnumHosts.
...
Signed-off-by: Alistair Leslie-Hughes <leslie_alistair@hotmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-02-15 22:58:48 +01:00
Alistair Leslie-Hughes
6eb0015d08
dpnet: Add basic validation in IDirectPlay8Client EnumHosts.
...
Signed-off-by: Alistair Leslie-Hughes <leslie_alistair@hotmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-02-15 22:58:48 +01:00
Alistair Leslie-Hughes
8db78fdd1b
dpnet/tests: Add IDirectPlay8Peer EnumHost Tests.
...
Signed-off-by: Alistair Leslie-Hughes <leslie_alistair@hotmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-02-14 12:33:05 +01:00
Alistair Leslie-Hughes
98040833d3
dpnet/tests: Initial IDirectPlay8ThreadPool tests.
...
Signed-off-by: Alistair Leslie-Hughes <leslie_alistair@hotmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-02-14 12:33:05 +01:00
Alistair Leslie-Hughes
15fe05ea76
dpnet/tests: Add IDirectPlay8Client EnumHost tests.
...
Signed-off-by: Alistair Leslie-Hughes <leslie_alistair@hotmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-02-13 11:37:03 +01:00
Alistair Leslie-Hughes
2a8a052bf7
dpnet: Add __WINE_ALLOC_SIZE attributes to heap_xxx() functions.
...
Signed-off-by: Alistair Leslie-Hughes <leslie_alistair@hotmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-02-13 11:37:03 +01:00
Alistair Leslie-Hughes
bc85fee0f1
dpnet: Implement IDirectPlay8Client EnumServiceProviders.
...
Signed-off-by: Alistair Leslie-Hughes <leslie_alistair@hotmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-02-13 11:37:02 +01:00
Alistair Leslie-Hughes
e21c573295
dpnet: Use registry lookup in EnumServiceProviders.
...
Signed-off-by: Alistair Leslie-Hughes <leslie_alistair@hotmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-02-13 11:37:02 +01:00
Francois Gouget
fc8fcc344f
dpnet/tests: A spelling fix in a variable name.
...
Signed-off-by: Francois Gouget <fgouget@free.fr>
Signed-off-by: Alistair Leslie-Hughes <leslie_alistair@hotmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-02-13 09:39:13 +01:00
Alistair Leslie-Hughes
d9610706e5
dpnet/tests: Don't hardcode paths.
...
Signed-off-by: Alistair Leslie-Hughes <leslie_alistair@hotmail.com>
Signed-off-by: Erich E. Hoover <erich.e.hoover@wine-staging.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-02-08 17:00:04 +01:00