Commit Graph

46 Commits

Author SHA1 Message Date
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
Vincent Béron
9a62491660 Removed trailing whitespace. 2002-05-31 23:06:46 +00:00
Alexandre Julliard
6044307c3a A few fixes for mingw cross-compilation. 2002-05-17 03:31:08 +00:00
Alexandre Julliard
0799c1a780 Added LGPL standard comment, and copyright notices where necessary.
Global replacement of debugtools.h by wine/debug.h.
2002-03-09 23:29:33 +00:00
Alexandre Julliard
193cf50a09 Removed some of the calls to HEAP_strdup* functions. 2002-01-01 00:24:30 +00:00
Patrik Stridvall
8b216b3d02 Documentation ordinal fixes. 2001-06-19 18:20:47 +00:00
Alexandre Julliard
49556bcbf5 Cleaned up some more dependencies on Wine internal functions. 2000-11-29 18:38:24 +00:00
Alexandre Julliard
24a62ab9b0 Got rid of the Wine internal lstrcpy* functions and of winestring.h. 2000-11-28 22:40:56 +00:00
Dimitrie O. Paun
529da54394 Require {DECLARE,DEFAULT}_DEBUG_CHANNEL statements to end in a ; 2000-11-27 23:54:25 +00:00
Alexandre Julliard
2682bc24ca Fixed a few dependencies on 16-bit or internal functions. Fixed a few
warnings.
2000-11-27 22:03:23 +00:00
Alexandre Julliard
072dfb57e3 Removed inclusion of wine/winestring.h from winbase.h and added it to
the C files that need it.
2000-09-25 23:30:56 +00:00
Ulrich Weigand
bb1984e6bd Separated Win16 (USER) and Win32 (MPR) network routines.
Moved implementation of MPR to dlls/mpr/.
Added proper headers and stubs for missing MPR routines.
1999-08-07 14:32:33 +00:00