Commit Graph

61 Commits

Author SHA1 Message Date
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
Steven Edwards
c8857c0786 Correct definition of SFGAO_STORAGEANCESTOR. 2005-08-11 10:33:21 +00:00
Mike McCormack
e28c014a84 -Wpointer-sign fixes. 2005-07-03 12:03:35 +00:00
Michael Jung
9393580ab5 If the unixfs is rooted at the Desktop folder, forward
ParseDisplayName calls to it instead of to MyComputer.
2005-06-29 11:17:33 +00:00
Michael Jung
bb19a58a93 Return the correct attributes for the desktop folder.
Corresponding tests.
2005-06-14 18:10:24 +00:00
Dmitry Timoshkov
eba47f1dfe Make remaining OLE interface vtables const. 2005-06-06 19:50:35 +00:00
Stefan Dösinger
ea18de5f58 *Handle cidl==0 in shfldr_desktop, shfldr_fs and shfldr_mycomp.
*Remove the dwAttributes member from the IGenericSFImpl class, it's
not needed and can't be initialised in Initialize and InitializeEx.
2005-05-26 16:09:12 +00:00
Michael Jung
8016f6cc62 More robustly query the SHGDN_FORPARSING flag in the shell32's folders
GetDisplayNameOf methods.
2005-05-23 16:31:42 +00:00
Juan Lang
2439b5fdda Fixes to IShellFolder::GetAttributesOf implementations, spotted by
silverblade_:
- a count of zero is allowed to GetAttributesOf if apidl is NULL
- SFGAO_VALIDATE must be cleared upon return
2005-05-10 08:28:11 +00:00
Juan Lang
7376f57c30 Use Unicode string result from GetDisplayNameOf if it isn't
representable using ANSI.
2005-04-12 10:15:29 +00:00
Jon Griffiths
dbf222f3aa Use LMEM_ flags for LocalAlloc(), not GMEM_ (GlobalAlloc). 2005-03-17 20:53:37 +00:00
Mike McCormack
b12ce9b446 Convert path to unicode, rearrange to remove forward declaration. 2005-03-17 13:57:38 +00:00
Martin Fuchs
824353d01b - switch to correct shell desktop context menu
- launch desk.cpl when activating the desktop context menu entry
  "properties"
- don't send WM_COMMAND if we didn't get a shell view window
2005-03-14 10:49:03 +00:00
Juan Lang
316df99bf9 Convert more API calls to Unicode. 2005-03-02 10:16:41 +00:00
Mike McCormack
f8a4f6b59b - handle IFileSystemBindData in ISF_Desktop_fnParseDisplayName
- more Unicode conversion
2005-02-23 12:45:12 +00:00
Mike McCormack
59ce35aba8 Remove tabs and make formatting consistent. 2005-02-21 18:36:47 +00:00
James Hawkins
ba92d2924a - Use Interlocked* instead of ++/-- in AddRef/Release.
- Use only stored result of Interlocked* in AddRef/Release.
- Expand TRACEs to display the ref count.
2005-01-14 16:02:20 +00:00
Francois Gouget
486d020c1b Don't define COBJMACROS in objbase.h.
Update the Wine sources accordingly.
2004-10-07 03:06:48 +00:00
Alexandre Julliard
39a696a166 Removed some uses of the non-standard ICOM_THIS macro. 2004-09-06 20:34:29 +00:00
Alexandre Julliard
f714b39762 Get rid of the no longer used ICOM_MSVTABLE_COMPAT_DummyRTTIVALUE
macro.
2004-08-23 19:39:48 +00:00
Alexandre Julliard
48c4bb3c31 Get rid of the non-standard ICOM_VTABLE macro. 2004-08-12 23:00:51 +00:00
Alexandre Julliard
0467ce9fd7 Get rid of the non-standard ICOM_VFIELD macro. 2004-08-12 19:52:49 +00:00
Martin Fuchs
618cf6fc0f Return "file not found" error values instead of E_INVALIDARG if
_ILCreateFromPathA() failed to find files.
2004-04-14 23:57:46 +00:00
Martin Fuchs
b8dc8abbc0 Correct IShellFolder::GetAttributesOf() for the case *rgfInOut=0. 2004-04-13 00:19:11 +00:00
Juan Lang
19b1a95ec1 - move CreateMyCompEnumList and CreateDesktopEnumList to their
respective files
- rewrite CreateFolderEnumList to only FindFirstFile/FindNextFile once
2004-04-08 19:50:17 +00:00
Juan Lang
c00fbafbbf Move control panel applet enumeration to cpanelfolder.c. 2004-04-08 04:37:43 +00:00
Juan Lang
42f28a72e9 - rename PT_SPECIAL to PT_SHELLEXT
- remove unnecessarily complex _ILCreate
- combine _ILCreateValue and _ILCreateFolder, since their outputs
  differed by only one byte.
2004-04-06 23:12:11 +00:00
Juan Lang
fe7c9e5f95 Rename PT_MYCOMP to PT_GUID, and the corresponding union member from
mycomp to guid.
2004-04-06 03:22:29 +00:00
Martin Fuchs
70d4604ac9 - ISF_Desktop_fnGetUIObjectOf(): allow context menu on the desktop
without any selected item; preserve return error codes.
- ISF_Desktop_fnGetDisplayNameOf(): don't initialize whole character
  array with zero.
2004-01-23 20:46:09 +00:00
Martin Fuchs
2745769035 Return 'My Compuer' PIDL when calling Desktop->ParseDisplayName() with
empty path string.
2004-01-23 04:15:32 +00:00
Martin Fuchs
eae9444bc8 - fix typos in shelllink.c header comment and a struct comment
- corrected SCF_UNICODE constant and use the value of SCF_UNC instead
- implemented IShellLink_ConstructFromFile() to read shell links from
  files
- call IShellLink_ConstructFromFile() in ISF_..._fnGetUIObjectOf()
  when being queried for IShellLink interface
2004-01-20 01:37:24 +00:00
Martin Fuchs
236c8a2452 - move IShellFolder_fnGetDisplayNameOf() contents into a new function
SHELL_FS_ProcessDisplayFilename() to call it also in
  ISF_Desktop_fnGetDisplayNameOf() and do the same file system
  processing for the desktop level
- handle hidden file extensions in SHELL_FS_ProcessDisplayFilename(),
  that are configured by "NeverShowExt" in the registry
2004-01-19 23:54:55 +00:00
Martin Fuchs
963dd34ec0 - correct return value of SHGetPathFromIDList[AW]() for virtual
folders like "My Computer"
- correct path parsing in ISF_Desktop_fnParseDisplayName()
- handle CLSID paths in ISF_MyComputer_fnParseDisplayName()
- return CLSID path in ISF_MyComputer_fnGetDisplayNameOf()
2003-12-30 19:24:22 +00:00
Rolf Kalbermatter
2407c13848 Make sure the bind context is forwarded in
ShellFolder_ParseDisplayName.
2003-09-15 22:16:41 +00:00
Alexandre Julliard
20c169e0a4 Fixed a few more headers dependency issues. 2003-09-09 19:39:31 +00:00