Commit Graph

95 Commits

Author SHA1 Message Date
Damjan Jovanovic ad412b11a7 shell32: Implement IID_IContextMenu in CreateViewObject() methods for shell folders that support it.
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=39841
Signed-off-by: Damjan Jovanovic <damjan.jov@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-05-03 20:42:29 +02:00
Gabriel Ivăncescu ba31ce27fd shell32/shfldr_desktop: Use friendly name instead of GUID when SHGDN_FORADDRESSBAR is set.
On Windows, SHGDN_FORPARSING returns the GUID name of a special folder,
but only when SHGDN_FORADDRESSBAR is not set.

Signed-off-by: Gabriel Ivăncescu <gabrielopcode@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-01-24 20:10:16 +01: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 2406d6cd84 shell32: System shellfolders don't support GetDefaultSearchGUID() in recent versions.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-09-27 10:20:11 +02:00
Nikolay Sivov babd22b443 shell32: System shellfolders don't implement GetDefaultColumn().
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-09-27 10:20:09 +02:00
Nikolay Sivov f23edde42c shell32: Partially implement MapColumnToSCID().
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-09-25 22:21:42 +02:00
Nikolay Sivov 252051cb1b shell32: Respect SFGAO_NONENUMERATED attribute for registered shell extensions.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-11-30 13:26:12 +01:00
Nikolay Sivov 1c86f97985 shell32: Get rid of some casts by using IShellFolder2 internally.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-11-28 13:56:16 +01:00
Thomas Faber c0cd954f98 shell32: Add missing parameter check in ISF_Desktop_fnQueryInterface. 2015-06-30 14:40:43 +09:00
Francois Gouget 351d907bbd shell32: Remove unneeded NONAMELESSXXX directives. 2015-03-20 17:50:06 +09:00
Nikolay Sivov 730e744e3b shell32: Use E_NOT_SUFFICIENT_BUFFER definition. 2014-10-08 13:13:36 +02:00
Nikolay Sivov d3a034e348 shell32: Release cached desktop folder on process detach. 2014-06-16 09:30:52 +02:00
Frédéric Delanoy b6f934fe33 shell32: Use BOOL type where appropriate. 2013-11-12 12:58:03 +01:00
Nikolay Sivov 725b069e68 shell32: Fix remaining cases of implementation pointer being returned. 2013-09-04 11:36:42 +02:00
Nikolay Sivov 81b9a83d83 shell32: Remove unnecessary WINAPI and some casts. 2013-08-16 11:55:25 +02:00
Michael Stefaniuc 89e187d3bd shell32: Pass an IShellFolder2 to SHELL32_CompareIDs() to avoid casts. 2013-02-26 11:27:15 +01:00
Marcus Meissner 4413e00eca shell32: Check return value of SHGetSpecialFolderPathW (Coverity). 2012-10-03 16:29:29 +02:00
Nikolay Sivov bf0c67c322 shell32: Use proper macros when calling COM methods. 2012-07-30 17:13:33 +02:00
Nikolay Sivov 72a7c34109 shell32: Avoid casts when creating item menu. 2012-01-11 17:47:30 +01:00
Nikolay Sivov 3efda60ef6 shell32: Avoid pointer casts when background menu is created. 2012-01-11 17:47:30 +01:00
Nikolay Sivov e9fa059976 shell32: Merge ShellView menu implementations into a single file. 2012-01-10 18:29:04 +01:00
Michael Stefaniuc 28d8819b63 shell32: Avoid an unsafe iface to object cast in AddToEnumList(). 2011-10-10 13:44:39 +02:00
Michael Stefaniuc bd407b700e shell32: Return the IEnumIDList object on its creation. 2011-10-10 13:44:33 +02:00
Michael Stefaniuc 61c8da18ef shell32: Merge enumidlist.h into the main header file. 2011-10-10 13:43:22 +02:00
Michael Stefaniuc a92531487b shell32: Use ifaces instead of vtbl pointers in IDesktopFolderImpl. 2010-12-05 12:26:37 +01:00
David Hedberg fb88e06e79 shell32: Implement IPersistFolder2 for the desktop folder. 2010-07-20 14:40:32 +02:00
Andrew Eikum a77fb7f550 shell32: UNIX paths should be parsed by unixfs.
Some tests show that trying to create a PIDL from a path starting with
'/' fails in Windows, so this change shouldn't cause a conflict with
the shell namespace.
2010-06-29 13:28:58 +02:00
Andrew Eikum da31fc06a4 shell32: Use ParseURL to detect URLs. 2010-06-29 13:28:58 +02:00
Nikolay Sivov e51fe8e070 shell32: Use shared code to return column details from IShellFolder2::GetDetailsOf(). 2010-04-19 15:37:52 +02:00
Nikolay Sivov 7fbc550466 shell32: Rename desktop folder data structure to reflect its meaning. 2010-03-30 17:24:01 +02:00
Nikolay Sivov 53ae4e2ba0 shell32: Add IPersist support for desktop IShellFolder. 2010-03-22 15:52:36 +01:00
Nikolay Sivov 500c785053 shell32: Implement SHParseDisplayName with basic tests. 2010-03-03 14:02:23 +01:00
Aric Stewart 9224609589 shell32: Handle shell: urls internal in ParseDisplayName instead of passing them to shdocvw. 2009-06-26 12:04:32 +02:00
Aric Stewart c6ba4eed01 shell32: In ParseDisplayName make use of shdocvw if the display name is not a drive but has a :. 2009-01-29 12:18:42 +01:00
Rob Shearman 4131edbdbe shell32: Fix incorrect character count passed into RegEnumKeyExW in CreateDesktopEnumList. 2008-02-18 12:20:50 +01:00
Dmitry Timoshkov 013652feee shell32: Make SHGetDesktopFolder use a cached instance of IShellFolder. 2007-06-22 12:17:59 +02:00
Rob Shearman 899e2ecff8 shell32: Return Unicode strings from all of the IShellFolder::GetDisplayNameOf functions in not running in Win9x mode. 2007-04-10 14:23:09 +02:00
Dmitry Timoshkov e4c0748c21 shell32: Make some data static and const. 2006-11-28 12:36:12 +01:00
Hans Leidekker 89e1d29482 shell32: Win64 printf format warning fixes. 2006-10-09 12:45:02 +02:00
James Hawkins 7b89ff88e8 janitorial: Remove redundant NULL checks before SHFree. 2006-10-07 17:52:59 +02:00
Robert Shearman 6c4c4e3515 shell32: Convert ISF_Desktop_fnGetDisplayNameOf to Unicode. 2006-06-19 23:04:28 +02:00
Jonathan Ernst 360a3f9142 Update the address of the Free Software Foundation. 2006-05-23 14:11:13 +02:00
Robert Shearman f8782733f3 shell: Convert the filesystem shell folder to Unicode. 2006-01-16 21:31:48 +01:00
Robert Shearman 50c1e46d18 shell: Convert SHELL32_GetDisplayNameOfChild to unicode. 2006-01-16 21:31:10 +01:00
Martin Fuchs 0b17529332 Correctly call HCR_GetFolderAttributes() in SHELL32_GetItemAttributes().
Directly return the correct "My Computer" attributes in
ISF_Desktop_fnGetAttributesOf().
Remove "todo_wine" from the "My Computer" attributes test case.
Add test case for retrieving the file system path from the
CSIDL_PROGRAM_FILES PIDL using SHGetPathFromIDListW().
2005-11-28 10:38:06 +01:00
Michael Jung 46018bbc59 Also scan HKEY_CURRENT_USER for shell namespace extensions in Desktop
folder.
Fixed a handle leak in case of failing AddToEnumList call.
2005-11-23 15:17:54 +01:00
Francois Gouget 0edbaf7e80 Remove spaces before '\n' in traces. 2005-11-10 12:14:56 +00:00
Robert Shearman 055d96b721 Convert SHELL32_BindToChild to Unicode and fix up the callers. 2005-11-01 09:34:03 +00:00
Francois Gouget a1f9a13997 Use "static const" rather than "const static" as gcc -W complains
about the former.
2005-10-06 11:38:45 +00:00
Alexandre Julliard 640bf7c6e8 Authors: Michael Jung <mjung@iss.tu-darmstadt.de>, Ge van Geldorp <gvg@reactos.com>
- Prepend Desktop folder path for files/directories stored in the
  filesystem Desktop folder when GetDisplayNameOf is called with the
  SHGDN_FORPARSING flags.
- Add testcases.
2005-08-15 09:41:58 +00:00