Commit Graph

15 Commits

Author SHA1 Message Date
Michael Stefaniuc 2a9407dd15 mpr: Use wide-char string literals.
Signed-off-by: Michael Stefaniuc <mstefani@winehq.org>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-11-05 09:56:47 +01:00
Fabian Maurer 8ca2938757 wnet: Make WNetGetUniversalNameW return required size when buffer is too small and add test.
The pointer is set to the required size not only when the input size
is 0, but generally when it is too small.

Signed-off-by: Fabian Maurer <dark.shadow4@web.de>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-08-14 14:51:34 +02:00
Michael Stefaniuc 56a232b44c mpr/tests: Use the available ARRAY_SIZE() macro.
Signed-off-by: Michael Stefaniuc <mstefani@winehq.org>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-06-04 14:23:29 +02:00
Michael Müller 31e5b4e5ee mpr: Return correct error code for non network paths and REMOTE_NAME_INFO_LEVEL in WNetGetUniversalName.
Signed-off-by: Michael Müller <michael@fds-team.de>
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-03-14 15:27:59 +01:00
Zebediah Figura 84b0ed9161 mpr/tests: Fix drive search loop.
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-01-02 13:25:20 +01:00
André Hentschel 4981d7fb0a mpr/tests: Allow values from Win8+.
Signed-off-by: André Hentschel <nerv@dawncrow.de>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-10-23 10:31:02 +02:00
Nikolay Sivov 7569f6c62e mpr/tests: Remove NT4 version check.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-06-07 11:24:44 +02:00
Hans Leidekker 25e78e0412 mpr/tests: Try other drive letters if J: is already assigned.
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-03-22 15:34:12 +01:00
Pierre Schweitzer d2ce22ba23 mpr/tests: Add tests for WNetUseConnectionA().
Signed-off-by: Pierre Schweitzer <pierre@reactos.org>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-02-03 23:49:05 +09:00
Francois Gouget f8a7d6ed74 Assorted spelling fixes. 2015-08-07 23:50:48 +09:00
Bernhard Übelacker d1ca4e87c3 mpr/tests: Add tests for WNetCachePassword and friends. 2015-07-01 19:18:10 +09:00
Detlef Riekenberg d63a160c24 mpr/tests: Handle result from the AppV virtual drive. 2013-06-07 12:03:06 +02:00
Roman Dadkov b8d081b0a8 mpr/tests: Test to check the return values of WNetGetUniversalNameA. 2013-02-13 20:44:11 +01:00
Detlef Riekenberg fc4b2f6cec mpr/tests: Handle result from the AppV virtual drive. 2012-08-13 12:08:34 +02:00
Andrew Eikum 76880ff933 mpr: Don't succeed if drive is not remote in WNetGetUniversalName. 2012-07-10 11:14:14 -05:00