Commit Graph

83 Commits

Author SHA1 Message Date
Nikolay Sivov 1128970a75 wshom: Implement standard streams properties for Exec object.
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=38210
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-02-21 12:32:06 +01:00
Nikolay Sivov a514001019 wshom: Create standard streams when starting new process with Exec().
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-02-21 12:32:06 +01:00
Nikolay Sivov aea21ea244 wshom/tests: Build without -DWINE_NO_LONG_TYPES.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-02-11 10:57:17 +01:00
Nikolay Sivov 52b74b36bd wshom: Fix long types warnings.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-01-31 18:38:55 +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
Nikolay Sivov 82198731fc wshom: Use CRT allocation functions.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-01-24 10:18:50 +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
Alexandre Julliard 5d82baf974 winecrt0: Add a default implementation DllRegisterServer()/DllUnregisterServer().
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-04-30 22:59:50 +02:00
Alexandre Julliard bd6b53740c winecrt0: Add a default implementation for DllCanUnloadNow().
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-04-30 22:59:50 +02:00
Alexandre Julliard b8f6852bc5 wshom.ocx: Use --prefer-native instead of DLL_WINE_PREATTACH.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-02-26 11:40:43 +01:00
Porot Mo 2a15390eb9 wshom.ocx: Expand environment string before executing command through CreateProcessW.
Signed-off-by: Porot Mo <porotmjp@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-06-16 11:26:01 +02:00
Dmitry Kislyuk 7d0c23f60e wshom.ocx: Use wide character string literals.
Signed-off-by: Dmitry Kislyuk <dimaki@rocketmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-04-27 12:03:51 +02:00
Nikolay Sivov 283b587b94 wschom/tests: Use wide string literals.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-02-17 09:39:17 +01:00
Alistair Leslie-Hughes 46dcaa5b93 wshom.ocx: Correct out parameter for _NewEnum.
Signed-off-by: Alistair Leslie-Hughes <leslie_alistair@hotmail.com>
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-10-16 12:31:14 +02:00
Dmitry Timoshkov 57961e5e78 wshom.ocx: Actually wait for process termination in IWshShell3::Run().
Signed-off-by: Dmitry Timoshkov <dmitry@baikal.ru>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-10-07 10:01:49 +02:00
Alexandre Julliard df8f838928 wshom.ocx: Build with msvcrt.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-06-27 22:20:05 +02:00
Nikolay Sivov 1866fd659a wshom.ocx: Fix string length returned from Check returned BSTR length.
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=46754
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-03-04 22:00:44 +01:00
Hans Leidekker 979f9078d3 wshom: Split the command line before passing it to ShellExecuteEx.
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-11-02 15:18:10 +01:00
Michael Stefaniuc 962b31c80b include: Add a generic available ARRAY_SIZE().
Signed-off-by: Michael Stefaniuc <mstefani@winehq.org>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-07-04 10:39:15 +02:00
Nikolay Sivov f6bf269065 wshom: Use global memory allocation helpers.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-02-28 17:24:37 +01:00
Nikolay Sivov c0ba650969 wshom: Use ARRAY_SIZE() macro.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-02-27 09:16:27 +01:00
Nikolay Sivov 8c68872416 wshom: Implement Popup() method.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-12-11 18:21:15 +01:00
Nikolay Sivov 2619bdb94f wshom: Fix IWshShell3::Invoke() call to use correct implementation pointer.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-05-15 11:10:01 +02:00
Nikolay Sivov 722c28cb5d wshom: Added IProvideClassInfo support for implemented interfaces.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-01-25 11:26:18 +01:00
Nikolay Sivov b00d68a194 wshom.ocx/tests: Fix indentation warning on GCC 6.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-08-10 12:52:00 +09:00
Alexandre Julliard d8cc1dccba makefiles: Add makedep pragmas in all IDL source files.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2015-11-02 23:02:22 +09:00
Huw Davies 714abcb7cd wshom/tests: Use RegQueryValueEx so that the tests run on Win 2k and XP. 2015-06-10 23:38:19 +09:00
Nikolay Sivov a8150b53b6 wshom.ocx: Fix BSTR allocation for string registry values (Valgrind). 2015-04-21 14:31:04 +09:00
Nikolay Sivov f44707cb11 wshom.ocx/tests: Fix a BSTR leak (Valgrind). 2015-04-16 15:14:07 +09:00
Francois Gouget ef9d3f1181 wshom.ocx: Make enum_thread_wnd_proc() static. 2015-03-13 21:57:33 +09:00
Nikolay Sivov ed92458754 wshom.ocx: Implement Terminate(). 2015-03-13 00:28:22 +09:00
Nikolay Sivov 2a925eba20 wshom.ocx: Implement ProcessID() property. 2015-03-10 15:15:34 +09:00
Nikolay Sivov 1d0fbb2160 wshom.ocx: Implement Status property of IWshExec. 2015-03-10 15:15:32 +09:00
Nikolay Sivov d9db9d8b83 wshom.ocx: Implement Exec() method. 2015-03-10 15:15:29 +09:00
Nikolay Sivov b9819b0b8e wshom.ocx: Implement CurrentDirectory() property. 2015-03-09 17:32:32 +09:00
Nikolay Sivov 99afcdff2d wshom.ocx: Added missing IWshShell3 methods. 2015-03-09 17:32:27 +09:00
Nikolay Sivov d91ba373b7 wshom.ocx: Silence class factory QI fixme. 2015-02-20 22:05:46 +09:00
Nikolay Sivov 366aa9e74e wshom.ocx: Fix WshShell instance QI behaviour. 2015-02-20 22:05:41 +09:00
Nikolay Sivov 4588bb1170 wshom.ocx: Implement RegWrite(). 2015-02-18 15:45:46 +09:00
Nikolay Sivov 41c44f9185 wshom.ocx: Implement RegRead(). 2015-02-17 18:41:10 +09:00
Nikolay Sivov f0e2ea988e wshom.ocx: Properly handle optional argument in Run(). 2015-02-16 19:18:41 +09:00
Jacek Caban d2886a05f9 wine/debug.h: Added debugstr_variant and debugstr_vt aliases and removed all duplicated implementations. 2014-07-24 17:05:55 +02:00
Nikolay Sivov ac65c3fb18 wshom.ocx: Implement get_Item() for IWshEnvironment. 2014-07-22 18:58:30 +02:00
Nikolay Sivov b10c237c5a wshom: Added a stub for IWshEnvironment. 2014-04-17 13:27:25 +02:00
Nikolay Sivov 87f7f88c4f wshom.ocx/tests: Update idl file in tests. 2014-03-20 10:43:39 +01:00
Nikolay Sivov 18c350ae22 idl: Remove 'optional' for 'defaultvalue' non-VARIANT arguments. 2014-03-19 10:41:31 +01:00
Nikolay Sivov 9239b86037 wshom: Implement LocationPath property for shortcut. 2014-02-10 10:41:53 +01:00
Nikolay Sivov 2b1f2001b1 wshom: Implement get_WorkingDirectory(), handle allocation failures. 2014-02-05 13:49:29 +01:00
Nikolay Sivov f608c5d2ae wshom: Implement Arguments() property for a shortcut. 2014-02-04 10:54:43 +01:00
Alexandre Julliard 99ef0d6ff0 makefiles: Get rid of the MAKE_TEST_RULES variable. 2014-01-02 12:13:16 +01:00