Commit Graph

52 Commits

Author SHA1 Message Date
Nikolay Sivov 9d57c5f56c shell32: Silence Destination List QueryInterface() failure message.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-08-13 14:24:05 +02:00
Sven Baars e6ce281d30 shell32: Fix a use after free (Coverity).
Signed-off-by: Sven Baars <sven.wine@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-05-29 16:21:24 +02: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
Jactry Zeng 5451c7d04f shell32: Implement SHCreateItemInKnownFolder.
Signed-off-by: Jactry Zeng <jzeng@codeweavers.com>
Signed-off-by: Huw Davies <huw@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-08-16 11:04:59 +09:00
Jactry Zeng 6048090275 shell32: Implement SHCreateItemFromRelativeName.
Signed-off-by: Jactry Zeng <jzeng@codeweavers.com>
Signed-off-by: Huw Davies <huw@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-08-16 11:04:49 +09:00
Nikolay Sivov f2499d20d4 shell32: Implement SHGetPropertyStoreFromParsingName() as a wrapper over IShellItem2.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-02-27 16:24:55 +01:00
Nikolay Sivov 6d89f58ec2 shell32: Added stub implementation of ICustomDestinationList.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-11-29 12:17:30 +01:00
Andrey Gusev 954560f847 shell32: Use debugstr_guid() and debugstr_w() in TRACE() messages.
Signed-off-by: Andrey Gusev <andrey.goosev@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-07-22 21:34:50 +09:00
Nikolay Sivov 4e88852415 shell32: Fix temporary item array leak (Valgrind).
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alistair Leslie-Hughes <leslie_alistair@hotmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2015-10-29 21:20:07 +09:00
Vincent Povirk 8657547d9e shell32: Fix getting parent shell folder when it's the desktop folder.
BindToObject fails in this case.
2015-08-17 14:47:37 +09:00
Vincent Povirk 642b2fe789 shell32: Use return value from IShellFolder_GetAttributesOf. 2015-08-17 14:47:30 +09:00
Nikolay Sivov 17339f4f94 shell32: Cleanup IShellItem creation calls. 2015-04-08 16:22:30 +09:00
Nikolay Sivov 1d3d086560 shell32: Remove a couple of redundant lines. 2015-04-07 18:53:44 +09:00
Nikolay Sivov d19790840f shell32: Cleanup item array creation code. 2015-04-07 18:53:40 +09:00
Nikolay Sivov 47f8dbcb36 shell32: Fix allocation size (Valgrind). 2015-04-07 18:53:32 +09:00
Francois Gouget 351d907bbd shell32: Remove unneeded NONAMELESSXXX directives. 2015-03-20 17:50:06 +09:00
Francois Gouget 0f3728a692 shell32: Add a trailing '\n' to a FIXME(). 2014-08-19 14:48:29 +02:00
David Hedberg d016dc4004 shell32: Implement IEnumShellItems for IShellItemArray. 2014-08-05 16:39:07 +02:00
David Hedberg 27b45807a7 shell32: Implement IShellItemArray::GetAttributes. 2014-08-04 14:27:48 +02:00
David Hedberg a79be28e8c shell32: Implement SHCreateShellItemFromIDLists. 2014-08-04 14:27:46 +02:00
David Hedberg 815b532b64 shell32: Always initialize shellitem to NULL in SHCreateShellItem. 2014-08-04 14:27:25 +02:00
David Hedberg 9ff6853478 shell32: Return S_OK only if the flags matches the result exactly. 2014-08-04 14:27:23 +02:00
David Hedberg 678434539e shell32: Mask out attributes we didn't ask for in ShellItem::GetAttributes. 2014-08-04 14:27:21 +02:00
Nikolay Sivov 0de2514f39 shell32: Consistently return interface pointer instead of implementation pointer. 2013-09-03 20:02:55 +02:00
Nikolay Sivov bf0c67c322 shell32: Use proper macros when calling COM methods. 2012-07-30 17:13:33 +02:00
Michael Stefaniuc 44b2f66ac7 shell32: Remove casts to the type of the casted expression. 2011-09-21 14:41:33 +02:00
David Hedberg d2091a8043 shell32: Add IShellItem2 stub to ShellItem implementation. 2010-12-20 12:47:41 +01:00
David Hedberg 0d87e1f9fd shell32: IShellItem::GetAttributes should also work on the desktop shellfolder. 2010-12-20 12:47:40 +01:00
Michael Stefaniuc 3f213cb798 shell32: Use an iface instead of a vtbl pointer in ShellItem. 2010-12-16 12:06:51 +01:00
Michael Stefaniuc c8ba8b6d6a shell32: Use an iface instead of a vtbl pointer in IShellItemArrayImpl. 2010-12-05 12:26:29 +01:00
David Hedberg 1f73f3a591 shell32: Support BHID_SFUIObject and BHID_DataObject in IShellItem::BindToHandler. 2010-08-24 17:22:49 +02:00
David Hedberg 6fbfb7cd1d shell32: Partial implementation of IShellItem::BindToHandler. 2010-08-17 14:21:22 +02:00
David Hedberg 56f39b0d88 shell32: Fixup IShellItemArray_Constructor helper. 2010-07-30 11:36:02 +02:00
David Hedberg fd6d9cd8f2 shell32: Implement SHCreateShellItemArrayFromDataObject. 2010-07-26 18:38:31 +02:00
David Hedberg bf1b56be10 shell32: Implement SHCreateShellItemArrayFromShellItem. 2010-07-26 18:38:30 +02:00
David Hedberg 090824feb5 shell32: Initial implementation of IShellItemArray with SHCreateShellItemArray. 2010-07-26 18:38:30 +02:00
David Hedberg caffc9f557 shell32: Implement IShellItem::Compare. 2010-07-26 13:34:21 +02:00
David Hedberg 2f5b53e7d7 shell32: Implement SHGetItemFromObject. 2010-07-26 13:34:21 +02:00
David Hedberg c8c2bc8b4b shell32: Implement SHGetItemFromDataObject. 2010-07-23 13:05:31 +02:00
David Hedberg 222d2142ef shell32: Implement SHCreateItemFromIDList. 2010-07-23 13:05:31 +02:00
David Hedberg 5b0b56fac4 shell32: Implement SHCreateItemFromParsingName. 2010-07-23 13:05:31 +02:00
David Hedberg b43bcdf524 shell32: Implement SHGetNameFromIDList and IShellItem::GetDisplayName. 2010-07-23 13:05:31 +02:00
Michael Stefaniuc 5ea23d616b shell32: Use FAILED instead of !SUCCEEDED. 2009-09-10 11:08:39 +02:00
Vincent Povirk bced77fb07 shell32: Implement ShellItem_GetAttributes. 2009-05-22 11:11:28 +02:00
Vincent Povirk 9eed85f032 shell32: Implement IShellItem_GetParent. 2009-05-22 11:11:22 +02:00
Vincent Povirk 5b95a43d5e shell32: Handle parent folders in SHCreateShellItem. 2009-05-22 11:11:13 +02:00
Vincent Povirk 1d57a31d92 shell32: Fail properly when no pidl is passed to SHCreateShellItem. 2009-05-22 11:11:02 +02:00
Vincent Povirk b4ea7d3221 shell32: Implement Get/SetIDList on ShellItem objects. 2009-02-26 12:10:30 +01:00
Francois Gouget 6aa216fb57 shell32: Remove WINAPI on static functions where not needed. 2009-02-25 16:06:30 +01:00
Vincent Povirk 4438092960 shell32: Add IPersistIDList interface to ShellItem objects. 2009-02-24 16:57:29 +01:00