Francois Gouget
fcc0f1fb64
hnetcfg: Fix the spelling of a TRACE() message.
...
Signed-off-by: Francois Gouget <fgouget@free.fr>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-02-14 21:20:42 +01:00
Eric Pouech
54f851bb83
hnetcfg: Enable compilation with long types.
...
Signed-off-by: Eric Pouech <eric.pouech@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-02-10 10:44:10 +01:00
Paul Gofman
19c2ffe852
hnetcfg/tests: Don't test removing the same mapping twice.
...
Signed-off-by: Paul Gofman <pgofman@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-02-03 17:19:41 +01:00
Paul Gofman
69acffb954
hnetcfg/tests: Don't leak IEnumVARIANT reference in test_static_port_mapping_collection().
...
Signed-off-by: Paul Gofman <pgofman@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-02-03 17:19:41 +01:00
Paul Gofman
31f0509b72
hnetcfg: Handle NULL strings in update_mapping_list().
...
Signed-off-by: Paul Gofman <pgofman@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-02-03 17:19:41 +01:00
Paul Gofman
d907c8959c
hnetcfg: Don't use _GetValue() if text element is missing in get_xml_elements().
...
Signed-off-by: Paul Gofman <pgofman@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-02-03 17:19:41 +01:00
Paul Gofman
8f8fe74f89
hnetcfg: Implement static_ports_Add().
...
Signed-off-by: Paul Gofman <pgofman@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-02-02 12:28:43 +01:00
Paul Gofman
559b1d2ccf
hnetcfg: Implement static_ports_Remove().
...
Signed-off-by: Paul Gofman <pgofman@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-02-02 12:28:43 +01:00
Paul Gofman
de05efdea2
hnetcfg: Implement static_ports__NewEnum().
...
Signed-off-by: Paul Gofman <pgofman@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-02-02 12:28:43 +01:00
Paul Gofman
7ed9fb0a68
hnetcfg: Implement static_ports_get_Count().
...
Signed-off-by: Paul Gofman <pgofman@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-02-02 12:28:43 +01:00
Paul Gofman
15fac20f2c
hnetcfg: Implement static_ports_get_Item().
...
Signed-off-by: Paul Gofman <pgofman@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-02-02 12:28:43 +01:00
Paul Gofman
e98a102bdd
hnetcfg: Get port mapping list in init_gateway_connection().
...
Signed-off-by: Paul Gofman <pgofman@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-02-02 12:28:43 +01:00
Paul Gofman
42b2a69a67
hnetcfg: Fix realloc handling in fw_app_put_ProcessImageFileName().
...
Signed-off-by: Paul Gofman <pgofman@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-02-02 12:28:43 +01:00
Paul Gofman
42d12db0ee
hnetcfg: Get control URL for WANIPConnection service in init_gateway_connection().
...
Signed-off-by: Paul Gofman <pgofman@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-02-01 18:23:18 +01:00
Paul Gofman
c091620889
hnetcfg: Open connection to gateway in init_gateway_connection().
...
Signed-off-by: Paul Gofman <pgofman@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-02-01 18:23:18 +01:00
Paul Gofman
583605be04
hnetcfg: Get gateway description location in init_gateway_connection().
...
Signed-off-by: Paul Gofman <pgofman@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-02-01 18:23:18 +01:00
Paul Gofman
cbf2ca5774
hnetcfg: Return stub interface from upnpnat_get_StaticPortMappingCollection() if UPNP IGD is found.
...
Signed-off-by: Paul Gofman <pgofman@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-02-01 18:23:18 +01:00
Paul Gofman
162dc17e09
hnetcfg/tests: Add tests for static port mapping collection.
...
Signed-off-by: Paul Gofman <pgofman@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-02-01 18:23:18 +01:00
Paul Gofman
f20f988259
hnetcfg: Use CRT allocation functions.
...
Signed-off-by: Paul Gofman <pgofman@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-02-01 18:23:18 +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
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
Alexandre Julliard
6f3f06840d
hnetcfg: Use --prefer-native instead of DLL_WINE_PREATTACH.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-02-26 10:25:59 +01:00
Michael Stefaniuc
07592f7534
hnetcfg/tests: Use wide-char string literals.
...
Signed-off-by: Michael Stefaniuc <mstefani@winehq.org>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-12-14 12:20:42 +01:00
Vijay Kiran Kamuju
5160c30fa7
hnetcfg: Return S_OK in get_StaticPortMappingCollection.
...
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=49449
Signed-off-by: Vijay Kiran Kamuju <infyquest@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-10-13 11:34:24 +02:00
Alexandre Julliard
4572f1674a
hnetcfg: Build with msvcrt.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-06-05 08:37:27 +02:00
Gijs Vermeulen
16803516ef
hnetcfg: Initialize INetFwRules::get__NewEnum out parameter.
...
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=46906
Signed-off-by: Gijs Vermeulen <gijsvrm@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-03-26 20:25:24 +01:00
Michael Stefaniuc
c6ecb1b6a4
hnetcfg: Remove redundant "not NULL" check (coccinellery).
...
Signed-off-by: Michael Stefaniuc <mstefani@winehq.org>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-02-19 09:59:14 +01:00
Francois Gouget
da4df48ae7
hnetcfg: Add a trailing '\n' to a TRACE().
...
Signed-off-by: Francois Gouget <fgouget@free.fr>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-10-22 11:12:28 +02:00
Alistair Leslie-Hughes
13a3302734
hnetcfg: Add test for IProvideClassInfo interface.
...
Signed-off-by: Alistair Leslie-Hughes <leslie_alistair@hotmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-10-17 11:10:32 +02:00
Alistair Leslie-Hughes
6670048908
hnetcfg/tests: Add IUPnPNAT interface tests.
...
Signed-off-by: Alistair Leslie-Hughes <leslie_alistair@hotmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-10-16 14:01:18 +02:00
Alistair Leslie-Hughes
d65bd95ecd
hnetcfg: Link to uuid library.
...
Signed-off-by: Alistair Leslie-Hughes <leslie_alistair@hotmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-10-16 14:01:09 +02:00
Alistair Leslie-Hughes
449833b48a
hnetcfg: Support IUPnPNAT interface.
...
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=34711
Signed-off-by: Alistair Leslie-Hughes <leslie_alistair@hotmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-10-16 13:56:19 +02:00
Alistair Leslie-Hughes
bd96105353
hnetcfg: Register NATUPnP interface.
...
Signed-off-by: Alistair Leslie-Hughes <leslie_alistair@hotmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-10-16 13:53:12 +02:00
Fabian Maurer
78a1ba1e33
hnetcfg: Add more GUIDs.
...
Signed-off-by: Fabian Maurer <dark.shadow4@web.de>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-08-14 14:52:11 +02:00
Fabian Maurer
7ec1ae2bef
hnetcfg/tests: Pass correct parameter to WNetGetUniversalNameW.
...
Currently a pointer to a local variable is passed,
that causes severe stack corruption.
Signed-off-by: Fabian Maurer <dark.shadow4@web.de>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-08-14 14:51:01 +02:00
Michael Stefaniuc
8ae0d33bb7
hnetcfg: Use the ARRAY_SIZE() macro.
...
Signed-off-by: Michael Stefaniuc <mstefani@winehq.org>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-08-14 10:16:00 +02:00
Zebediah Figura
e070ff88d6
hnetcfg: Store the long path in INetFwAuthorizedApplication_put_ProcessImageFileName().
...
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-06-28 18:27:08 +02:00
Zebediah Figura
e46f84a86b
hnetcfg: Store the full path in INetFwAuthorizedApplication_put_ProcessImageFileName().
...
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-06-26 13:29:10 +02:00
Marcus Meissner
46c5eb173f
hnetcfg: GetModuleFileNameW gets characters, not bytes (Coverity).
...
Signed-off-by: Marcus Meissner <meissner@suse.de>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-06-25 18:07:23 +02:00
Zebediah Figura
e6fc86e4a0
hnetcfg: Store the UNC path in INetFwAuthorizedApplication_put_ProcessImageFileName().
...
Fixes test failures when running from virtual drive.
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-06-19 21:01:48 +02:00
Zebediah Figura
709cce6329
hnetcfg/tests: Fix BSTR usage in test_NetFwAuthorizedApplication().
...
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-06-19 21:01:46 +02:00
Hans Leidekker
8e29f491c4
hnetcfg/tests: Ignore case when comparing filenames.
...
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-05-10 18:17:42 +02:00
Alistair Leslie-Hughes
9e5145a7fe
hnetcfg/tests: Add INetFwAuthorizedApplication tests.
...
Signed-off-by: Alistair Leslie-Hughes <leslie_alistair@hotmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-04-23 11:06:03 +02:00
Michael Müller
0edc760ddf
hnetcfg: Improve INetFwAuthorizedApplication::get_ProcessImageFileName stub.
...
Signed-off-by: Alistair Leslie-Hughes <leslie_alistair@hotmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-04-23 11:06:01 +02:00
Alistair Leslie-Hughes
19e72fe149
hnetcfg: Implement INetFwPolicy2 get_Rules.
...
Signed-off-by: Alistair Leslie-Hughes <leslie_alistair@hotmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-09-27 09:32:19 +02:00
Alistair Leslie-Hughes
7ffb4a912c
hnetcfg/tests: Add initial tests.
...
Signed-off-by: Alistair Leslie-Hughes <leslie_alistair@hotmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-07-26 20:39:54 +09:00
Alistair Leslie-Hughes
1abf294e1d
hnetcfg: Add stubbed INetFwPolicy2 interface.
...
Signed-off-by: Alistair Leslie-Hughes <leslie_alistair@hotmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-07-26 20:39:19 +09:00
Nikolay Sivov
65ba59322d
hnetcfg: Claim success in INetFwOpenPorts::Add().
...
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-04-28 12:41:20 +09:00