Commit Graph

153 Commits

Author SHA1 Message Date
Andrew Eikum 3f3e42b6bc shell32: ShellExec with empty operation should behave same as with NULL operation. 2011-10-19 16:38:51 +02:00
Juan Lang 0aad594d5f shell32: Use existing buffer rather than copying, and potentially truncating, a filename prior to executing it. 2011-10-17 17:45:07 +02:00
Juan Lang 726acf0f4a shell32: Check size of input parameters before copying to fixed length buffers. 2011-10-17 17:45:06 +02:00
Vincent Povirk 9b2968dc77 shell32: Dynamically allocate argify buffer if the static one is too small. 2011-07-20 19:23:04 +02:00
Vincent Povirk eeeca57072 shell32: Include NULL terminators in the lengths used by SHELL_ArgifyW. 2011-07-20 19:23:04 +02:00
Mikhail Maroukhine cc7eaa3293 shell32: Fix compiler warnings with flag -Wcast-qual. 2010-03-29 12:16:36 +02:00
Ilya Basin 9ff19d1d48 shell32: Enable dde for SEE_MASK_CLASSALL. 2010-03-25 16:36:41 +01:00
Paul Vriens 3cbaaaa564 shell32: Remove some unneeded parameter setting. 2010-01-14 09:14:19 -06:00
Stefan Dösinger 29d72a53ab shell32: Make some functions hookable. 2009-10-14 12:21:06 +02:00
Francois Gouget aad81e5cea shell32: Make AboutDlgProc() and SHELL_execute() static. 2009-05-15 10:31:43 +02:00
Alexandre Julliard 129ba5ade0 shell32: Make shell.dll into a stand-alone 16-bit module. 2009-04-01 18:20:13 +02:00
Alexandre Julliard b1d96f6ffa shell32: Add implementation of WOWShellExecute.
The callback is probably not fully compatible, but apps are not
supposed to use that function anyway.
2009-04-01 18:19:42 +02:00
Vincent Povirk 8e4aff7a4d shell32: Add a message for opening files with no association. 2009-02-26 12:11:57 +01:00
Marcus Meissner 0aa5a83688 shell32: Fixed potential buffer overwrite in execute_from_key (Coverity). 2009-02-02 15:21:43 +01:00
Vincent Povirk 5c24f70c8b shell32: Display error messages in ShellExecuteEx. 2008-12-19 17:41:15 +01:00
Vincent Povirk 0a2ffa08f5 shell32: Use the NO_UI flag in ShellExecute.
In my testing on Windows, I wasn't able to make ShellExecute display
any error dialogs.
2008-12-19 17:41:11 +01:00
Paul Chitescu cd616409ba shell32.dll: Return SE_ERR_FNF if file not found before checking for associations. 2008-12-09 10:25:38 +01:00
Alexandre Julliard 1abff5afef shell32: Make some functions static. 2008-12-03 12:09:38 +01:00
Andrew Talbot 45d7897c62 shell32: Sign-compare warnings fix. 2008-11-12 11:49:12 +01:00
Marcus Meissner 0ff2c06c1d Fixed RegEnumKey(Ex)W buffer sizes. 2008-10-13 12:04:26 +02:00
Rob Shearman 3261814e08 shell32: Don't assign a result from a function that returns a BOOL to an HRESULT in shellex_get_dataobj.
Otherwise there could be confusion as to what type GetFullPathNameW is
returning.
2008-08-18 17:34:12 +02:00
Lei Zhang 215f6c47ca shell32: Handle directories in ShellExecute. 2008-08-18 17:24:22 +02:00
Tomasz Jezierski 3229c3de92 shell32: Secure filename copy to fixed size variable wfileName. 2008-04-23 13:26:05 +02:00
Andrew Talbot 2cce0040a0 shell32: Assign to structs instead of using memcpy. 2008-03-18 11:15:26 +01:00
James Hawkins 26ad93947b janitorial: Remove links to any microsoft site. 2008-03-01 12:04:09 +01:00
Rob Shearman d182559161 shell32: Fix the character count passed to SearchPathW in SHELL_execute. 2008-02-25 13:31:40 +01:00
Francois Gouget 44b52b128c Assorted spelling fixes. 2008-01-16 12:48:29 +01:00
Vitaly Lipatov 2dcb7b5d5c shell32: Use sizeof instead of constant for buffer size. 2007-12-05 13:32:15 +01:00
Juan Lang 52da1b169a shell32: Remove a bad comment. 2007-11-19 12:55:12 +01:00
Juan Lang 08ab605e37 shell32: Dynamically allocate memory for executing an URL. 2007-11-19 12:54:57 +01:00
Juan Lang 9d05534822 shell32: Use helper function to execute a URL. 2007-11-19 12:54:51 +01:00
Juan Lang f2748c7af3 shell32: Dynamically allocate buffer for command. 2007-11-19 12:54:43 +01:00
Juan Lang 75ba711932 shell32: Constify some parameters. 2007-11-19 12:54:25 +01:00
Juan Lang 987ba237aa shell32: Don't overwrite the caller's buffer when doing a dde connection. 2007-11-19 12:54:14 +01:00
Juan Lang b829f034f5 shell32: Dynamically allocate buffer for quoted command. 2007-11-19 12:53:55 +01:00
Juan Lang e3dbbd1435 shell32: Use a helper function for executing a found executable. 2007-11-19 12:53:46 +01:00
Juan Lang 645802d748 shell32: Dynamically allocate directory buffer. 2007-11-19 12:53:33 +01:00
Juan Lang fd12e340cf shell32: Use helper function to translate ID list. 2007-11-19 12:53:09 +01:00
Juan Lang 865a40651d shell32: Use a helper function for executing a class. 2007-11-19 12:52:51 +01:00
Juan Lang f53abfcee1 shell32: Dynamically allocate buffer for command parameters. 2007-11-19 12:52:33 +01:00
Alexandre Julliard 14eb294a48 shell32: Pass some of the ShellExecute flags through InvokeCommand. 2007-11-13 21:34:28 +01:00
Andrew Talbot e7636c13e5 shell32: Constify some variables. 2007-10-31 12:39:54 +01:00
Rob Shearman 94074ad31e shell32: Don't use the working directory passed into ShellExecute* functions if it isn't valid. 2007-08-31 19:16:50 +02:00
Kirill K. Smirnov 728bfd6d58 shell32: Add support for SEE_MASK_NO_CONSOLE flag. 2007-07-16 22:54:42 +02:00
Misha Koshelev 9be151c2e9 shell32: Conform to native in SHELL_ArgifyW for unquoted %1 in registry keys. 2007-06-18 12:15:51 +02:00
Misha Koshelev efb92561e6 shell32: Handle default DDE application names. 2007-05-30 11:46:06 +02:00
Misha Koshelev cfa87660a7 shell32: Fix execute_from_key to conform to native behavior. 2007-05-30 11:44:20 +02:00
Dmitry Timoshkov 3c9e7a7f33 wine: Switch to using 'long' for INT_PTR type for 64-bit compatibility. 2007-05-25 20:37:56 +02:00
Marcus Meissner 29700766ea shell32: Avoid potential 1 byte overflow. 2007-05-17 13:20:25 +02:00
Hans Leidekker 395ba3b945 shell32: Add a stub implementation for OpenAs_RunDLL. 2007-04-19 11:56:16 +02:00