Commit graph

32 commits

Author SHA1 Message Date
Fabian Maurer
ba4bc623ef net: Accept yes/no switches.
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=55859
2023-12-07 20:21:43 +01:00
Eric Pouech
9ac9ea5914 net: Use OEM code page for output.
Signed-off-by: Eric Pouech <eric.pouech@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-05-02 11:47:28 +02:00
Eric Pouech
d2a5c5ab46 net: Enable compilation with long types.
Signed-off-by: Eric Pouech <eric.pouech@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-02-04 11:20:33 +01:00
Alexandre Julliard
3291ead14d net: Use the standard va_list instead of __ms_va_list.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-10-25 11:01:16 +02:00
Michael Stefaniuc
e14b2d486d net: Use wide-char string literals.
Signed-off-by: Michael Stefaniuc <mstefani@winehq.org>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-10-06 11:55:24 +02:00
Alexandre Julliard
972ec1ac20 net: FormatMessage() now reports ERROR_NO_WORK_DONE error for empty string.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-05-13 22:07:31 +02:00
Alexandre Julliard
ed6a5e97e0 programs: Make all program entrypoints cdecl.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-10-17 17:05:47 +02:00
Alexandre Julliard
cf391dc3e7 net: Build with msvcrt.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-04-30 09:54:45 +02:00
Michael Stefaniuc
beb464358e net: 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:42:48 +02:00
Alexandre Julliard
399feae786 net: Use WINAPIV calling convention for variadic functions.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-11-02 10:21:10 +01:00
Huw Davies
3e7f0e685b net: Don't call CloseServiceHandle() with an invalid handle. 2015-07-16 21:20:52 +09:00
Hugh McMaster
ba7d599b6f net: WriteFile should output the number of bytes in the char array, not the length of the WCHAR array. 2015-06-19 20:17:26 +09:00
Frédéric Delanoy
06a66688a3 net: Use BOOL type where appropriate. 2013-10-15 14:28:20 +02:00
Francois Gouget
f3f24fb5d4 net: Use FormatMessageW() for better internationalization support. 2011-10-21 12:31:18 +02:00
Francois Gouget
16d77d2a0c net: Remove an untranslatable string from the resources.
Add some output_xxx() functions so we can print strings that don't come from resources.
Also protect against buffer overflows in output_vprintf() and constify the output_xxx() functions.
2011-08-30 12:09:10 +02:00
Francois Gouget
a64f42b8d7 net: Add support for enumerating the running services with 'net start'. 2011-08-29 13:41:08 +02:00
Francois Gouget
175953563b net: Fix the parameter checking, /help handling and usage.
Also simplify and improve the usage messages.
2011-08-29 13:20:24 +02:00
Marcus Meissner
a869964b31 net: LoadStringW incorrect size bytes vs characters. 2011-08-22 16:14:31 +02:00
Francois Gouget
0b2a67cffb net: Add a WriteConsole() fall back so things still works on Windows if the output is redirected. 2011-08-05 15:35:22 +02:00
Francois Gouget
d8624c0445 net: Convert to Unicode. 2011-08-05 15:34:59 +02:00
Francois Gouget
89dcf229d0 net: Remove a debug trace. 2011-08-03 19:19:50 +02:00
Francois Gouget
9b29faae6a net: Make it possible to translate the connection status descriptions.
Also remove the description for USE_DISCONN as it is in fact a synonym 
for USE_SESSLOST.
2011-08-01 18:26:26 +02:00
Alexandre Julliard
305fcef612 net: Use the explicit name for all A/W function. 2009-12-09 18:52:46 +01:00
Francois Gouget
7a71c5d3e3 net: Make output_string() and output_error_string() static. 2008-12-15 12:25:43 +01:00
Rob Shearman
e4c8d763c9 net: Display a more specific error message when a service command fails.
Use FormatMessage to get the message for the Win32 error.
2008-04-02 11:23:01 +02:00
Tim Schwartz
26b182fd92 net.exe: Lists existing NetUse connections. 2007-11-06 14:14:21 +01:00
Roy Shea
c8c43acc2b net.exe: Added missing service name. 2007-10-03 11:01:29 +02:00
Tim Schwartz
ef59d47d93 net.exe: Converted strings to resources. 2007-07-11 14:21:21 +02:00
Tim Schwartz
a13340d4a0 net.exe: Add missing CloseServiceHandle(). 2007-06-21 13:07:33 +02:00
Tim Schwartz
c46cacc816 net.exe: Add NET STOP. 2007-06-19 12:55:53 +02:00
Tim Schwartz
9aaaafa774 net.exe: Add NET START command. 2007-05-30 15:54:45 +02:00
Tim Schwartz
451616ee45 net.exe: Initial stub. 2007-05-03 15:52:05 +02:00