Commit Graph

170 Commits

Author SHA1 Message Date
Michael Stefaniuc 250e8437d7 shell32: Use the available ARRAY_SIZE() macro.
Signed-off-by: Michael Stefaniuc <mstefani@winehq.org>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-03-29 17:27:41 +02:00
Nikolay Sivov 612a194133 shell32: Use ARRAY_SIZE macro.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-03-19 12:35:12 +01:00
Nikolay Sivov e3b200bd8a shell32: Use global memory allocation helpers.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-02-22 14:16:33 +01:00
Vincent Povirk 8a46b9e5d1 shell32: Add support for find data in IShellLink:GetPath.
Signed-off-by: Vincent Povirk <vincent@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-09-26 08:44:19 +02:00
Vincent Povirk 3615db9a00 shell32: Set shelllink path when setting pidl.
Signed-off-by: Vincent Povirk <vincent@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-09-26 08:44:06 +02:00
Vincent Povirk 94378704f8 shell32: IShellLink::GetPath returns S_FALSE if there's no path.
Signed-off-by: Vincent Povirk <vincent@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-09-26 08:43:57 +02:00
Nikolay Sivov f04b66e68f shell32: Added IShellImageData stub.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-02-08 10:47:37 +01:00
Ken Thomases 1449090985 shell32: Don't append a trailing space to the arguments in a shell link if the command info has an empty parameters string. 2014-12-23 15:29:04 +01:00
Nikolay Sivov aeda103769 shell32: Added stub IPropertyStore for a shell link object. 2014-12-22 13:37:03 +01:00
Vincent Povirk 7eebbf3b07 shell32: Respect CMIC_MASK_NO_CONSOLE in ShellLink InvokeCommand. 2014-04-25 10:22:38 +02:00
Nikolay Sivov 17ad6aa28a shell32: Move QueryInterface to IShellLinkW. 2013-08-16 11:55:25 +02:00
Nikolay Sivov 81b9a83d83 shell32: Remove unnecessary WINAPI and some casts. 2013-08-16 11:55:25 +02:00
Nikolay Sivov d64697a34e shell32: Forward GetClassID() to IPersistFile. 2013-08-16 11:55:24 +02:00
Nikolay Sivov 15cd338d59 shell32: Remove unused parameters from conversion helper. 2013-08-16 11:55:24 +02:00
Nikolay Sivov 5c4f237486 shell32: Forward to IShellLinkW methods. 2013-08-16 11:55:24 +02:00
Eric Pouech d1ccbceb4d Various background processes must be launched detached from current console (if any). 2013-01-16 14:02:55 +01:00
Nikolay Sivov a4dd8fb6a8 shell32: Use S_OK as successful return code name. 2012-01-09 15:34:15 +01:00
Frédéric Delanoy 40179bedee shell32: Avoid hardcoding array lengths. 2011-11-23 09:11:36 +01:00
Alistair Leslie-Hughes be1a6d8323 shell32: Release site pointer. 2011-11-01 12:12:50 +01:00
Francois Gouget ff23498e3f shell32: Fix printing NULL strings. 2011-09-20 16:21:39 +02:00
Michael Stefaniuc 4ecd6e7934 shell32: Finish the COM cleanup in shelllink.c. 2011-05-23 11:18:19 +02:00
Michael Stefaniuc d9d74ec327 shell32: COM cleanup for the IShellLinkA iface. 2011-05-23 11:18:13 +02:00
Andrew Eikum d66317605d shell32: Don't search Path or PIDL for an icon in IShellLink::GetIconLocation.
Try as I might, I couldn't get a path out of GetIconLocation that wasn't
put there via SetIconLocation.  As far as I can tell, the code here was 
based on nothing.
2010-11-12 11:41:36 +01:00
Aric Stewart 2554a55b34 shell32: Handle NULL pName in ShellLink fnSetDescription. 2010-05-03 16:44:41 +02:00
Alexandre Julliard 3bac3fb712 shell32: Always start the 64-bit version of winemenubuilder.exe on Wow64. 2010-03-29 15:50:09 +02:00
Nikolay Sivov b774baa35c shell32: Add IPersistFile::GetCurFile implementation for IShellLink. 2010-03-19 12:23:42 +01:00
Christian Costa 5a647e87c1 shell32: Improve some FIXMEs. 2010-01-26 12:18:31 +01:00
Nikolay Sivov 9a53cb5263 shell32/shelllink: Fix some string buffers leaks. 2010-01-07 19:41:34 +01:00
Huw Davies b71173f7ac shell32: Fix a memory leak.
Found by Valgrind.
2009-12-17 13:09:49 +01:00
Alexandre Julliard 61a4200162 shell32: Fix setting of NULL arguments in IShellLink. 2009-11-16 20:09:48 +01:00
Alexandre Julliard d72e7af9b1 shell32: Specify the full application path when starting winemenubuilder.exe. 2009-10-27 11:21:34 +01:00
Hans Leidekker 6b107c7f62 shell32: Reject NULL path in IShellLink_SetPath. 2009-09-09 14:07:43 +02:00
Michael Stefaniuc 6c54ad3dba shell32: Remove superfluous pointer casts. 2009-02-19 12:52:02 +01:00
Alexandre Julliard bb283bf534 shell32: Avoid a pointer cast in a trace. 2009-01-08 13:13:01 +01:00
Andrew Talbot 45d7897c62 shell32: Sign-compare warnings fix. 2008-11-12 11:49:12 +01:00
Andrew Talbot 2cce0040a0 shell32: Assign to structs instead of using memcpy. 2008-03-18 11:15:26 +01:00
Andrew Talbot 2f25755674 shell32: Remove unneeded casts. 2008-01-21 11:39:04 +01:00
Francois Gouget 67c6c24b04 shell32: A lot of lnk files have extra data blocks at the end, although they don't seem to matter much. So drop the corresponding ERR() to a WARN(). 2008-01-11 12:25:48 +01:00
Alexandre Julliard db500aad2d shell32: Don't wait for the command to terminate in ShellLink_InvokeCommand. 2007-11-13 21:34:52 +01:00
Alexandre Julliard 14eb294a48 shell32: Pass some of the ShellExecute flags through InvokeCommand. 2007-11-13 21:34:28 +01:00
Rob Shearman 8e51ab35be shell32: Fix a memory leak in Stream_WriteLocationInfo. 2007-11-12 12:53:53 +01:00
Andrew Talbot 481864d5e4 shell32: Fix some memory leaks. 2007-10-05 10:26:42 +02:00
Andrew Talbot c289a338b3 shell32: Constify some variables. 2007-09-13 12:45:15 +02:00
Misha Koshelev 0d750e3282 shell32: Fix shelllink creation to non-executable files and remove unnecessary code. 2007-06-29 13:43:27 +02:00
Misha Koshelev 5e28f7ad92 winemenubuilder: Wait for parent process to finish instead of creating RunOnce entry that may never run. 2007-06-28 12:16:13 +02:00
Jeff Latimer f16e2c3a27 shell32: Fix possible dereference of NULL ptr. 2007-06-11 13:49:40 +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
Andrew Talbot 55355d2def shell32: Replace inline static with static inline. 2007-03-23 12:29:23 +01:00
Aric Stewart a0ad8f38c7 shell32: IShellLink::GetIDList fix.
IShellLink::GetIDList when it fails to generate a PIDL must set ppidl
to NULL or some applications think it contains valid data.
2007-02-22 11:27:18 +01:00
Misha Koshelev 67cd59b892 shell32: Properly create shell links for commands on path. 2007-02-14 21:45:50 +01:00