Commit Graph

229 Commits

Author SHA1 Message Date
Eric Pouech 93707e9306 mpr/tests: Enable compilation with long types.
Signed-off-by: Eric Pouech <eric.pouech@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-03-01 10:37:32 +01:00
Eric Pouech 8c30c5277a mpr: Enable compilation with long types.
Signed-off-by: Eric Pouech <eric.pouech@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-02-14 11:04:19 +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
Fabian Maurer 63737942a0 mpr: Fix copy paste error when converting hex char to int.
Spotted by Robert Naumann.

Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=51728
Signed-off-by: Fabian Maurer <dark.shadow4@web.de>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-09-07 23:19:22 +02:00
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
Alexandre Julliard 1e117a5682 mpr: Build with msvcrt.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-06-11 09:46:13 +02:00
André Hentschel e0e89cdc90 mpr: Fix some spec file entries.
Signed-off-by: André Hentschel <nerv@dawncrow.de>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-06-10 12:24:25 +02:00
Pierre Schweitzer 773ff2e83b mpr: Implement support for deleting persistent connections.
Signed-off-by: Pierre Schweitzer <pierre@reactos.org>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-12-06 16:58:51 +01:00
Pierre Schweitzer 23a232fce8 mpr: Implement support for making connections persistent.
Signed-off-by: Pierre Schweitzer <pierre@reactos.org>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-12-06 16:58:39 +01:00
Pierre Schweitzer 9988bb5e07 mpr: Implement remembered connection enumeration.
Signed-off-by: Pierre Schweitzer <pierre@reactos.org>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-12-04 16:13:11 +01:00
Pierre Schweitzer 93fb279f4f mpr: Properly handle device-less connections.
Signed-off-by: Pierre Schweitzer <pierre@reactos.org>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-09-14 12:51:34 +02:00
Pierre Schweitzer 0799550075 mpr: Implement WNetClearConnections().
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=45802
Signed-off-by: Pierre Schweitzer <pierre@reactos.org>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-09-13 21:47:04 +02: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 253d39bf1d mpr: Use the ARRAY_SIZE() macro.
Signed-off-by: Michael Stefaniuc <mstefani@winehq.org>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-08-14 09:44:33 +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
Pierre Schweitzer 2619267170 mpr: Implement WNetConnectionDialog().
Signed-off-by: Pierre Schweitzer <pierre@reactos.org>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-07-03 15:57:44 +02:00
Pierre Schweitzer 8d461c1f42 mpr: Don't stop enumeration on the first failing network provider.
Signed-off-by: Pierre Schweitzer <pierre@reactos.org>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-06-23 19:45:31 +02:00
Pierre Schweitzer 51b4a42969 mpr: Properly handle the count set to -1 when enumerating connections.
Signed-off-by: Pierre Schweitzer <pierre@reactos.org>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-06-23 17:23:45 +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
André Hentschel 3540a3dc04 mpr: Fix some spec file entries.
Signed-off-by: André Hentschel <nerv@dawncrow.de>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-01-27 16:31:43 +01:00
Pierre Schweitzer 96a93ee608 mpr: Enumerate connections capability before looking for functions entry points.
Signed-off-by: Pierre Schweitzer <pierre@reactos.org>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-01-02 11:18:56 +01:00
Pierre Schweitzer d9c9d9b10f mpr: Implement connected resources enumeration.
Signed-off-by: Pierre Schweitzer <pierre@reactos.org>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-10-20 09:16:55 -07:00
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 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
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
Francois Gouget f8a7d6ed74 Assorted spelling fixes. 2015-08-07 23:50:48 +09:00
Bernhard Übelacker b4ded3d774 mpr: Call RegEnumValueA with valid value parameter. 2015-07-01 19:18:11 +09:00
Bernhard Übelacker d1ca4e87c3 mpr/tests: Add tests for WNetCachePassword and friends. 2015-07-01 19:18:10 +09:00
Thomas Faber 21a7cc6fa7 mpr: Do not omit mandatory argument to DeviceIoControl. 2014-07-21 11:55:20 +02:00
Alexandre Julliard 99ef0d6ff0 makefiles: Get rid of the MAKE_TEST_RULES variable. 2014-01-02 12:13:16 +01:00
Alexandre Julliard 5e7416e5c8 makefiles: Get rid of the MAKE_DLL_RULES variable. 2014-01-02 12:08:18 +01:00
Alexandre Julliard 4f3d71cef3 makefiles: Get rid of the no longer used PO_SRCS variables. 2013-12-15 10:23:04 +01:00
Alexandre Julliard 5756ee09f3 makefiles: Add makedep pragmas for rc files that contain translations. 2013-11-05 20:38:19 +01:00
Alexandre Julliard 14aa430314 mpr: Use neutral language for the version resource. 2013-07-09 22:21:58 +02:00
Detlef Riekenberg d63a160c24 mpr/tests: Handle result from the AppV virtual drive. 2013-06-07 12:03:06 +02:00