Commit Graph

47 Commits

Author SHA1 Message Date
Eric Pouech 228579ec30 netprofm: Enable compilation with long types.
Signed-off-by: Eric Pouech <eric.pouech@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-02-16 17:16:52 +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
Bernhard Kölbl 4393438ab3 netprofm: Set correct GUIDs for network connections.
Retrieve the network connection's GUID from the interface index.

Signed-off-by: Bernhard Kölbl <besentv@gmail.com>
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-03-11 13:13:35 +01:00
Jactry Zeng be41201c0a netprofm: Initialize ret value in IEnumNetworkConnections_Next().
Signed-off-by: Jactry Zeng <jzeng@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-03-03 21:54:45 +01:00
Alexandre Julliard ff798c0872 netprofm: Use --prefer_native instead of DLL_WINE_PREATTACH.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-03-02 10:55:09 +01:00
Gijs Vermeulen 08d815346c netprofm: Create a connection point object for INetworkEvents.
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=50054
Signed-off-by: Gijs Vermeulen <gijsvrm@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-11-03 21:49:47 +01:00
Zebediah Figura d6da10f3fb netprofm: Do not use the WS_ prefix.
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-09-29 12:03:27 +02:00
Alexandre Julliard 3e5db60e84 netprofm: Build with msvcrt.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-06-14 09:28:14 +02:00
Michael Stefaniuc ffb8047649 netprofm: Use the global HeapAlloc() wrappers.
Signed-off-by: Michael Stefaniuc <mstefani@winehq.org>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-02-02 10:34:30 +01:00
Jacek Caban c289169aaa netprofm: Release connection point sink entries in object destructor.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-08-20 09:30:06 +09:00
Jacek Caban ba156ed28b netprofm: Implement connection points as the same object as their container.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-08-20 09:30:01 +09:00
Jacek Caban d53b711f27 netprofm: Added semi-stub Advise and Unadvise implementation.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-08-18 08:13:27 +09:00
Hans Leidekker 25d3bc3064 netprofm: Fix compilation on systems that don't support nameless unions.
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-05-10 09:15:38 -05:00
Francois Gouget 44b7ff8b71 netprofm: Add a __WINE_ALLOC_SIZE attribute to heap_alloc().
And standardize its formatting, type names, etc.

Signed-off-by: Francois Gouget <fgouget@free.fr>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-02-20 10:31:57 +01:00
Marcus Meissner faa14ba1b1 netprofm: fix memleak in error exit (Coverity). 2015-09-07 17:54:54 +09:00
Hans Leidekker d3857726a0 netprofm/tests: Add tests. 2015-09-02 17:52:52 +09:00
Hans Leidekker c1c434d115 netprofm: Implement INetworkListManager::IsConnectedToInternet and INetworkListManager::IsConnected. 2015-09-02 17:52:44 +09:00
Hans Leidekker a0085f70a4 netprofm: Implement INetworkListManager::GetNetworkConnection. 2015-09-02 17:52:42 +09:00
Hans Leidekker 25886fa827 netprofm: Implement INetworkListManager::GetNetwork. 2015-09-02 17:52:40 +09:00
Hans Leidekker fd557984fb netprofm: Implement IEnumNetworkConnections. 2015-09-02 17:52:38 +09:00
Hans Leidekker 861cd5a3a7 netprofm: Implement IEnumNetworks. 2015-09-02 17:52:36 +09:00
Hans Leidekker 4cbf088247 netprofm: Add a stub implementation of INetworkConnectionCost. 2015-09-02 17:52:34 +09:00
Hans Leidekker 91835d94e9 netprofm: Implement INetworkConnection::GetNetwork. 2015-09-02 17:52:32 +09:00
Hans Leidekker 6defcbe3d9 netprofm: Add a stub implementation of INetwork. 2015-09-02 17:52:30 +09:00
Hans Leidekker 2d22baa6be netprofm: Add a stub implementation of INetworkConnection. 2015-08-27 22:05:53 +09:00
Hans Leidekker 0335459f5f netprofm: Support IDispatch on the list manager object. 2015-08-27 22:05:52 +09:00
Hans Leidekker 981460e84a netprofm: Clear the object pointer on failure in QueryInterface. 2015-08-27 22:05:50 +09:00
Hans Leidekker 346dd728fb netprofm: Introduce heap allocation macros. 2015-08-27 22:05:48 +09:00
Hans Leidekker afb98a38ae netprofm: Create a connection point object for INetworkConnectionEvents. 2015-08-06 21:41:53 +09:00
Hans Leidekker be7373f764 netprofm: Improve the stub for INetworkCostManager::GetDataPlanStatus. 2015-07-28 09:53:10 +02:00
Hans Leidekker c42f38fd17 netprofm: Create a connection point object for INetworkCostManagerEvents. 2015-07-28 09:52:52 +02:00
Michael Müller d07f76e39a netprofm/tests: Add tests for ConnectionPointContainer::FindConnectionPoint.
The refcounting is also tested because some apps depend on that.
2015-03-25 23:27:29 +09:00
Michael Müller 8e99972204 netprofm: Add stubbed IConnectionPoint interface. 2015-03-25 23:27:25 +09:00
Nikolay Sivov e0e0af801e netprofm: Added IConnectionPointContainer stub for INetworkListManager. 2014-05-20 21:26:54 +02:00
Nikolay Sivov 3f0a24349c netprofm/tests: Fix a test failure on Win7/Win2008 systems. 2014-04-22 11:26:06 +02:00
Hans Leidekker c7690c70ba netprofm: Add a stub implementation of INetworkCostManager. 2014-04-15 21:03:55 +02:00
Hans Leidekker 06fd202a20 netprofm: Fix a memory leak. 2014-04-15 21:03:55 +02:00
Michael Stefaniuc 0c97026ade netprofm: COM cleanup for IClassFactory. 2014-04-08 09:25:25 +02:00
Michael Stefaniuc 598f473802 netprofm: COM cleanup for INetworkListManager. 2014-04-08 09:25:20 +02:00
Hans Leidekker 3b63733bcb netprofm: Add a couple of tests for INetworkListManager. 2014-04-07 15:34:48 +02:00
Hans Leidekker 14ab04ab05 netprofm: Register interfaces. 2014-04-07 15:34:47 +02:00
Hans Leidekker ff3341210c netprofm: Add a class factory implementation. 2014-04-07 15:34:47 +02:00
Hans Leidekker 984663ff4a netprofm: Add a stub implementation of INetworkListManager. 2014-04-07 15:34:46 +02:00
Hans Leidekker cb0c5f5356 netprofm: New dll. 2014-04-07 15:34:45 +02:00