Commit Graph

19 Commits

Author SHA1 Message Date
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