Commit Graph

61 Commits

Author SHA1 Message Date
Pierre Schweitzer d6d0d96402 mpr: Set the CONNECT_LOCALDRIVE flag in case a local redirection is made on connection.
Signed-off-by: Pierre Schweitzer <pierre@reactos.org>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-08-12 21:21:53 +09:00
Pierre Schweitzer d2e68234b2 mpr: Implement WNetCancelConnectionA(), WNetCancelConnectionW(), WNetCancelConnection2A().
Signed-off-by: Pierre Schweitzer <pierre@reactos.org>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-08-12 21:21:42 +09:00
Pierre Schweitzer 0b34924bd8 mpr: Implement WNetCancelConnection2W().
Signed-off-by: Pierre Schweitzer <pierre@reactos.org>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-08-12 21:21:10 +09:00
Pierre Schweitzer a65c31e46f mpr: Implement provider selection given remote name.
Signed-off-by: Pierre Schweitzer <pierre@reactos.org>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-08-11 20:18:01 +09:00
Pierre Schweitzer b452e62859 mpr: Implement local name automatic redirection for disks.
Signed-off-by: Pierre Schweitzer <pierre@reactos.org>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-08-11 20:18:01 +09:00
Pierre Schweitzer e8c8ddcbfc mpr: Don't send lpRemoteName when requesting network place.
Signed-off-by: Pierre Schweitzer <pierre@reactos.org>
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-03-17 19:44:01 +09:00
Nikolay Sivov e920b4ecff mpr: Implement WNetUseConnectionA().
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-03-14 13:54:52 +09:00
Pierre Schweitzer d070c263ad mpr: Partially implement WNetUseConnectionW().
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-02-15 21:30:04 +09:00
Nikolay Sivov 164fe0470c mpr: Query for NPAddConnection and NPAddConnection3 when loading a provider.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-02-15 21:30:04 +09:00
Pierre Schweitzer 80eb2fa08e mpr: Add support for REG_EXPAND_SZ for providers path.
Signed-off-by: Pierre Schweitzer <pierre@reactos.org>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-01-26 23:26:59 +09:00
Pierre Schweitzer 39ec97ea9d mpr: Implement WNetAddConnectionA(), WNetAddConnection2A(), WNetAddConnection3A().
Signed-off-by: Pierre Schweitzer <pierre@reactos.org>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-01-20 01:48:50 +09:00
Pierre Schweitzer 092c60e98c mpr: Implement WNetAddConnectionW(), WNetAddConnection2W(), WNetAddConnection3W().
Signed-off-by: Pierre Schweitzer <pierre@reactos.org>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-01-19 23:01:29 +09:00
Thomas Faber 21a7cc6fa7 mpr: Do not omit mandatory argument to DeviceIoControl. 2014-07-21 11:55:20 +02:00
Andrew Eikum 76880ff933 mpr: Don't succeed if drive is not remote in WNetGetUniversalName. 2012-07-10 11:14:14 -05:00
Marcus Meissner c1833ea963 mpr: Added missing pointer dereference (Coverity). 2011-05-30 11:15:34 +02:00
Andrew Nguyen 80b1c5e072 mpr: Initialize the output enumeration handle to NULL in WNetOpenEnumA/W with no providers available. 2010-08-04 12:14:39 +02:00
Aric Stewart 3b93ff71c7 mpr: Initialize handle to NULL on ERROR_NO_NETWORK case in WNetOpenEnum. 2009-12-08 12:33:03 +01:00
Vitaly Perov d7098d0f4f mpr: Don't set LastError if no error occured. 2009-06-02 11:57:21 +02:00
Michael Stefaniuc f927cfd26b mpr: Remove superfluous pointer casts. 2009-01-12 13:06:39 +01:00
Michael Stefaniuc 4f199a10ad Remove the remaining casts of NULL. 2008-11-03 13:42:09 +01:00
Alexandre Julliard cb566755f7 mpr: Use a mountmgr ioctl to retrieve the UNC name for a drive. 2008-10-24 14:24:58 +02:00
Andrey Turkin 6b1256b2de mpr: Fix NULL pointer dereference in WNetGetResourceInformationW. 2008-10-17 12:32:10 +02:00
Andrew Talbot 69789d5891 mpr: Fix some memory leaks. 2008-06-26 21:07:17 +02:00
Christopher Berner 9978cc9c56 user32: Make LoadStringW pass tests. 2008-03-11 15:30:15 +01:00
Andrew Talbot c604e075ec mpr: Assign to struct instead of using memcpy. 2008-03-05 11:21:04 +01:00
Konstantin Kondratyuk bcfb9be370 mpr: Delete a stub trace. 2007-10-19 12:23:51 +02:00
Marcus Meissner 64920b5176 mpr: Initialize lpwSystem. 2007-10-02 13:31:37 +02:00
Konstantin Kondratyuk 7fb98bfba5 mpr: Implement WNetGetResourceInformation functions. 2007-10-01 14:17:53 +02:00
Konstantin Kondratyuk 227966402b mpr: Correct usage of dwScope and dwEnumScopes. 2007-09-27 12:46:24 +02:00
Andrew Talbot 0ad8eaa27a mpr: Constify some variables. 2007-05-29 11:54:59 +02:00
Maarten Lankhorst c3bfe66ade mpr: Small fixes to WNetGetConnection.
Convert unc\server\share to \\server\share and be more tolerant to null
pointers if only length is requested.
2007-05-23 14:30:16 +02:00
Dmitry Timoshkov 674ce99320 include: Add some API prototypes to appropriate header files, fix some prototypes. 2007-03-28 12:17:42 +02:00
Hans Leidekker e834f8a2b0 mpr: Add a stub implementation for WNetGetUniversalNameA. 2007-03-26 12:21:21 +02:00
Hans Leidekker 82c1540344 mpr: Fix buffer size calculation in WNetGetUniversalNameW. 2007-03-26 12:21:09 +02:00
Andrew Talbot c3e8298a3d mpr: Replace const pointer parameters with correct pointers to const. 2007-03-07 21:56:51 +01:00
Paul Vriens 817265a74e mpr: Fix typo (Coverity). 2007-01-15 13:00:11 +01:00
Andrew Talbot 0b2ec37f64 mpr: Declare a variable static. 2007-01-12 11:23:51 +01:00
Michael Stefaniuc b46d30e523 mpr: Win64 printf format warning fixes. 2006-10-12 21:42:48 +02:00
Dan Kegel 50ed26c358 mpr: Fix bug in ProviderOrder comma processing in wnetInit(). 2006-08-21 12:08:58 +02:00
Michael Stefaniuc fee72b607a Yet another round of redundant NULL checks before HeapFree. 2006-06-13 11:40:23 +02:00
Jonathan Ernst 360a3f9142 Update the address of the Free Software Foundation. 2006-05-23 14:11:13 +02:00
Mike McCormack fbab61c405 mpr: Improve the stub for WNetGetUniversalNameW. 2006-03-28 12:22:00 +02:00
Jakob Eriksson 9ed61de9a2 Get rid of HeapAlloc casts. 2005-03-24 21:01:35 +00:00
Michael Stefaniuc 5ad7d858e0 Do not check for non NULL pointer before HeapFree'ing it. It's
redundant.
2004-12-23 17:06:43 +00:00
Uwe Bonnes 0e42073cd7 HeapAlloc for WSTR must allocate len* sizeof(WCHARS). 2004-06-30 18:17:07 +00:00
Krishna Murthy b37eab4ec8 WNetGetConnection(): use QueryDosDevice to return a fake remote name
instead of the drive label.
2004-05-07 03:59:41 +00:00
Juan Lang 2feebb4578 - implement loading network providers
- implement enumeration functions
- some improved error checking and A->W conversion
2004-04-05 23:14:26 +00:00
Alexandre Julliard e37c6e18d0 Fixed header dependencies to be fully compatible with the Windows
headers (with help from Dimitrie O. Paun).
2003-09-05 23:08:26 +00:00
Michael Stefaniuc 6ff1325128 Compile the mpr dll with STRICT defined. 2002-10-22 00:45:56 +00:00
Patrik Stridvall d016f819f1 Added include protection for unistd.h and sys/time.h. 2002-08-17 00:43:16 +00:00