Commit Graph

183 Commits

Author SHA1 Message Date
Eric Pouech 570e24a014 shell32: Enable compilation with long types.
Signed-off-by: Eric Pouech <eric.pouech@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-02-18 09:32:11 +01:00
Zebediah Figura 3113c5412f shell32: Remove redundant definitions of undocumented shell functions.
Signed-off-by: Zebediah Figura <zfigura@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-02-04 09:48:55 +01:00
Alexandre Julliard b215536852 shell32: Use wide char string literals.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-09-20 22:45:48 +02:00
Alexandre Julliard 48d62fc623 shell32: Build with msvcrt.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-09-17 20:24:05 +02:00
Francois Gouget c10d9d102c shell32: Fix a couple of ASCII / ANSI mixups in comments.
Signed-off-by: Francois Gouget <fgouget@free.fr>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-09-01 17:07:48 +02:00
Haidong Yu 479b659463 shell32: Fix a memory leak.
Signed-off-by: Haidong Yu <yuhaidong@uniontech.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-06-07 21:24:08 +02:00
Dmitry Timoshkov dbb1ed4895 shell32: IPersistFile::Save(NULL) should use previously stored file name.
Signed-off-by: Dmitry Timoshkov <dmitry@baikal.ru>
Signed-off-by: Huw Davies <huw@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-02-03 21:01:23 +01:00
Dmitry Timoshkov 7690a91a73 shell32: Return S_OK from IShellLink::SetFlags() stub.
Signed-off-by: Dmitry Timoshkov <dmitry@baikal.ru>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-01-15 17:17:57 +01:00
Nikolay Sivov 84e06f2289 shell32: Do not use SHGetMalloc() internally.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-01-27 14:43:31 +01:00
Vijay Kiran Kamuju ec9eddf86b shell32: Update the LINKHEADER based on binary file format.
Signed-off-by: Vijay Kiran Kamuju <infyquest@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-11-28 20:45:46 +01:00
Nikolay Sivov c0a1eff706 shell32/shelllink: Fix NULL path handling in SetIconLocation().
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-10-02 03:04:42 -07:00
Andrey Gusev 0dddf2a1ac shell32: Check array index limit first.
Signed-off-by: Andrey Gusev <andrey.goosev@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-05-15 12:36:01 +02:00
Guillaume Gill 794d30dca6 shell32: Fake success in propertystore_[SetValue|Commit].
Signed-off-by: Gijs Vermeulen <gijsvrm@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-05-07 16:28:57 +02:00
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