Commit Graph

77 Commits

Author SHA1 Message Date
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
Nikolay Sivov 84b3606b2f hnetcfg: Return success from put_Enabled for a port.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2015-11-12 11:29:04 +09:00
Alistair Leslie-Hughes 376fe634f5 hnetcfg: Add Dispatch support to interface INetFwOpenPorts.
Signed-off-by: Alistair Leslie-Hughes <leslie_alistair@hotmail.com>
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2015-11-11 22:08:32 +09:00
Nikolay Sivov b7a67eb30f hnetcfg: Store port number for INetFwOpenPort.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2015-11-10 11:53:21 +09:00
Nikolay Sivov 341ddeb3c1 hnetcfg: Store protocol for INetFwOpenPort.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2015-11-10 11:53:20 +09:00
Nikolay Sivov e9d7a9bcfb hnetcfg: Store port name for INetFwOpenPort.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2015-11-09 16:44:51 +09:00
Nikolay Sivov 4782be7e31 hnetcfg: Release typeinfos and typelib on dll unload. 2015-01-20 17:52:24 +01:00
Nikolay Sivov ea3ba29332 hnetcfg: Fix refcount of returned ITypeInfo pointer. 2015-01-14 13:19:07 +01:00
Nikolay Sivov 23927e2644 hnetcfg: Return NET_FW_IP_VERSION_ANY as ipVersion property value. 2015-01-14 13:19:04 +01:00
Alistair Leslie-Hughes ab7a707136 hnetcfg: Add typeinfo support to INetFwOpenPort. 2014-09-17 10:19:19 +02:00
Alistair Leslie-Hughes fe802040f6 hnetcfg: Allow NetFwOpenPort to be created. 2014-09-17 10:19:16 +02:00
Alistair Leslie-Hughes 9938eef4bc hnetcfg: Register NetFwOpenPort interface. 2014-04-09 17:31:46 +02: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 566d3418af makedep: Add a separate pragma flag for typelibs that need registration. 2013-12-26 13:32:49 +01:00
Alexandre Julliard c7803b885b makefiles: Add makedep pragmas for registration idl files. 2013-11-05 20:38:18 +01:00
Alexandre Julliard f8421142e7 makefiles: Add makedep pragmas for typelib 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
Hans Leidekker c82e1eaf66 hnetcfg: Return success from INetFwAuthorizedApplication::put_Scope. 2012-09-26 11:02:49 +02:00
Hans Leidekker 4619b529cf hnetcfg: Add IDispatch support for INetFwMgr, INetFwPolicy and INetFwProfile. 2012-09-26 11:02:43 +02:00
Hans Leidekker 9ff1b4c8b2 hnetcfg: Add IDispatch support for INetFwAuthorizedApplication and INetFwAuthorizedApplications. 2012-09-26 11:02:20 +02:00
Hans Leidekker 3edae31d7a hnetcfg: Add a typelib. 2012-09-26 11:02:13 +02:00
Alexandre Julliard b56dc9a6f7 winecrt0: Remove the clsid parameter in __wine_(un)register_resources. 2011-08-02 20:47:49 +02:00
Marcus Meissner f6489f7438 hnetcfg: Mark internal symbols with hidden visibility. 2011-05-19 10:06:03 +02:00