Commit Graph

258 Commits

Author SHA1 Message Date
Andrew Eikum 7c9151c1e6 shell32: Allow updating knownfolder definitions. 2015-03-18 19:26:52 +09:00
Andrew Eikum db35807eb0 shell32: Fall back on CSIDL path for knownfolders without a path in the registry. 2015-03-03 11:47:00 +09:00
Andrew Eikum 103f158c63 shell32: Also return RelativePath in GetFolderDefinition. 2015-03-03 11:46:56 +09:00
Andrew Eikum 32a6ee3887 shell32: Also return ParentFolder ID in GetFolderDefinition. 2015-03-03 11:46:52 +09:00
Andrew Eikum e56e9c11fa shell32: Use a helper function to allocate strings from the registry. 2015-03-02 13:48:35 +09:00
Andrew Eikum b5c12cf9f3 shell32: Use a helper function to get DWORDs from registry. 2015-03-02 13:48:32 +09:00
Andrew Eikum d7d058482c shell32: Rearrange error handling in IKnownFolder::GetFolderDefinition. 2015-03-02 13:48:28 +09:00
Francois Gouget 169923d4b9 shell32: Reset pszHome if it's not usable so we don't try to reuse it when setting up the Desktop symlink. 2015-01-05 20:16:44 +01:00
Francois Gouget d7fc48463b shell32: Fix the IDS_PERSONAL hardcoded default.
The corresponding folder is called 'My Documents' but on Linux it's
usually called 'Documents' so that's much more appropriate fallback
than 'Personal'.
2015-01-05 20:16:36 +01:00
André Hentschel 8d50a8a246 shell32: Remove unused string (Clang). 2014-12-04 14:03:26 +01:00
Nikolay Sivov 730e744e3b shell32: Use E_NOT_SUFFICIENT_BUFFER definition. 2014-10-08 13:13:36 +02:00
Michael Müller e38d1c9aa1 shell32: Create profile directories available in Vista and above. 2014-08-04 19:28:42 +02:00
Nikolay Sivov f9a19f57e1 shell32: Implement PathYetAnotherMakeUniqueName(). 2014-06-30 22:04:52 +02:00
Austin English 4903dda319 shell32: Fix a typo. 2014-03-25 19:01:30 +01:00
Sebastian Lackner e28fe966fe shell32: Register user administrative tools shell folder.
Discovered by Michael Müller.
2014-03-10 12:20:00 +01:00
Damjan Jovanovic 0f64ffd91f shell32: Fix non-BOOL returns in BOOL functions. 2013-01-11 18:14:08 +01:00
André Hentschel b4b396a957 shell32: Reorder code to avoid memory leaks (coverity). 2012-10-29 10:38:19 +01:00
Erich Hoover 7eb0d62b3d shell32: Create the All Users Microsoft directory. 2012-09-20 19:59:19 +02:00
Francois Gouget b8050f0571 Assorted spelling fixes. 2012-09-04 16:15:52 +02:00
Michael Stefaniuc 563d229b5f shell32: Avoid TRUE:FALSE conditional expressions. 2012-08-14 11:59:18 +02:00
Austin English adc0518af7 shell32: Add a stub SHGetKnownFolderIDList. 2012-05-01 14:44:33 +02:00
Michael Stefaniuc 798beb2cb8 shell32: Print the debug string and not the pointer to it. 2012-03-26 18:15:24 +02:00
Huw Davies 9ae17687c0 shell32: Don't try to check for the folder's existence if we don't have a path. 2012-02-08 13:19:22 -06:00
Huw Davies 8272045cd8 shell32: Zero-init the out parameter and fix the error if the folder id is invalid. 2012-02-08 13:19:14 -06:00
Francois Gouget c0338afebb shell32: Fix the name of the 'Application Data' folders. 2012-02-07 09:27:53 -06:00
Francois Gouget 6fc6cf6935 shell32: Don't translate the shell folder paths. 2012-01-23 19:41:56 +01:00
Francois Gouget deffb92c9d shell32: Use the plural for 'My Videos' wherever appropriate. 2012-01-23 17:44:33 +01:00
Nikolay Sivov a4dd8fb6a8 shell32: Use S_OK as successful return code name. 2012-01-09 15:34:15 +01:00
Francois Gouget a603e9871e include: Add a few missing include directives to shlguid.h. 2011-12-20 10:16:45 +01:00
Nikolay Sivov 9d6204b297 shell32: Avoid null pointer dereference in traces. 2011-11-21 11:04:22 +01:00
Michael Stefaniuc 87b3644256 shell32: Pass the object instead of the iface to helper functions. 2011-09-26 12:19:58 +02:00
Michael Stefaniuc 9e460675d6 shell32: COM cleanup in shellpath.c. 2011-09-26 12:19:55 +02:00
Mariusz Pluciński 4505b4b07c shell32: Replace call of RegDeleteKeyW by SHDeleteKeyW. 2011-08-23 11:39:41 +02:00
Mariusz Pluciński f3bd5210b8 shell32: Check if known folder's relative path was passed to function.
All non-virtual known folders must have set relative path field.
2011-08-04 18:27:38 +02:00
Huw Davies fccd4e29c9 shell32: Initialise the error string pointer. 2011-07-28 18:37:39 +02:00
Mariusz Pluciński ea990a3f43 shell32: Fix FOLDERID_Document definition. 2011-07-19 18:26:22 +02:00
Mariusz Pluciński dfa35a529f shell32: Add IKnownFolder::GetFolderDefinition() implementation. 2011-07-19 18:26:22 +02:00
Michael Stefaniuc 5ab5042183 shell32: Use FAILED instead of !SUCCEEDED. 2011-07-19 18:26:20 +02:00
Marcus Meissner a05ba2b9de shell32: Check error return in get_known_folder_path (Coverity). 2011-07-14 14:13:50 +02:00
Mariusz Pluciński 9435f3ce15 shell32: Add support of KF_REDIRECT_DEL_SOURCE_CONTENTS flag to redirection. 2011-07-05 13:51:48 +02:00
Mariusz Pluciński 104bf57c11 shell32: Add support of KF_REDIRECT_COPY_CONTENTS flag to redirection. 2011-07-05 13:51:44 +02:00
Francois Gouget db36599aff shell32: Remove WINAPI on static functions where not needed. 2011-07-01 14:39:37 +02:00
Mariusz Pluciński 08186a9c26 shell32: Check for known folder existance. 2011-07-01 14:39:36 +02:00
Mariusz Pluciński e1dc5447e8 shell32: IKnownFolder::SetPath modified to use redirection instead of overwriting original path. 2011-07-01 14:39:36 +02:00
Michael Stefaniuc c2c0bec0e3 shell32: Don't pass an unitialized size to RegGetValue(). 2011-07-01 14:39:35 +02:00
Mariusz Pluciński 7340dcdb6d shell32: Add support of known folders redirection to GetPath. 2011-06-29 14:24:53 -05:00
Mariusz Pluciński e554ee7fb4 shell32: Add support of known folders redirection to Redirect. 2011-06-29 14:24:43 -05:00
Mariusz Pluciński 4c0959b9d6 shell32: Add support of parent folder to GetPath. 2011-06-29 14:23:41 -05:00
Mariusz Pluciński 06f706a068 shell32: Add support of parent folder to RegisterFolder. 2011-06-29 14:23:36 -05:00
Francois Gouget 95d769a047 Assorted spelling fixes. 2011-06-27 13:09:47 -05:00
Mariusz Pluciński 1c7240ba4e shell32: Add IKnownFolder::SetPath() implementation. 2011-06-24 12:11:57 -05:00
Mariusz Pluciński 5e90301bc2 shell32: Add implementation of IKnownFolder::GetCategory. 2011-06-24 12:11:53 -05:00
Mariusz Pluciński c9b70e6650 shell32: Add IKnownFolder::GetPath support. 2011-06-22 16:21:11 +02:00
Mariusz Pluciński 4fd24bc20e shell32: Fix typo. 2011-06-22 16:20:57 +02:00
Mariusz Pluciński ed29ff8c3b shell32: Add support of registry-registered folders to IKnownFolderManager::GetFolder. 2011-06-22 16:20:47 +02:00
Mariusz Pluciński c5bf1977f2 shell32: Add IKnownFolderManager::UnregisterFolder implementation. 2011-06-22 16:20:26 +02:00
Mariusz Pluciński 7a3b53ab68 shell32: Add IKnownFolderManager::RegisterFolder implementation. 2011-06-22 16:20:19 +02:00
Alexandre Julliard 2afe205ebd shell32: Convert dll registration to the IRegistrar mechanism. 2011-01-19 20:36:57 +01:00
Hans Leidekker e7e1ec62c7 shell32: Add stub implementations of IKnownFolder and IKnownFolderManager. 2010-09-23 12:06:18 +02:00
Alexandre Julliard c15b376a15 shell32: Map the x86 version of the folder to the appropriate path depending on Wow64 mode. 2010-09-21 14:11:27 +02:00
Hans Leidekker 9f4d6c6edc shell32: Support FOLDERID_LocalAppDataLow. 2010-09-18 13:06:10 +02:00
Hans Leidekker 859a1d0d44 shell32: Implement SHGetFolderPathEx. 2010-09-14 12:51:42 -05:00
Hans Leidekker 678c677690 shell32: Implement SHGetKnownFolderPath. 2010-09-14 12:51:27 -05:00
Hans Leidekker 02e38f3066 shell32: Add support for CSIDL_PROGRAM_FILESX86 and CSIDL_PROGRAM_FILES_COMMONX86. 2010-09-13 10:59:27 -05:00
Louis Lenders dd1a47093e shell32: Add stubbed SHGetKnownFolderPath. 2010-09-02 18:05:23 +02:00
Huw Davies a0126ec1ca shell32: Mask out the CSIDL_ flags. 2010-03-05 15:21:27 +01:00
Alexandre Julliard 49be8db6b1 shell32: Put the temp directory inside the user profile directory. 2010-01-28 15:30:13 +01:00
Akihiro Sagawa c6a947d2ec shell32: Use IDS_DESKTOPDIRECTORY for CSIDL_COMMON_DESKTOPDIRECTORY. 2009-08-10 13:10:30 +02:00
Austin English c68a20fb80 shell32: Adjust shell folders to more closely match Windows. 2009-07-20 12:21:16 +02:00
Alexandre Julliard 43e90c8ff7 shell32: Add support for the CSIDL_SYSTEMX86 folder. 2009-07-07 11:47:58 +02:00
Alexandre Julliard 853d993830 shell32: Default to the more modern location for the user profile directory. 2009-02-17 13:50:07 +01:00
Alexandre Julliard 1abff5afef shell32: Make some functions static. 2008-12-03 12:09:38 +01:00
Dmitry Timoshkov 6b4762086a shell32: Make some data static const. 2008-11-12 11:49:12 +01:00
Francois Gouget eb16f43bdf Add some API documentation stubs to make winapi_check happy. 2008-07-28 11:34:45 +02:00
Kirill K. Smirnov de3afabf08 shell32: Avoid usage of undefined xdg_results variable, since XDG_UserDirLookup() always corrupts it. 2008-07-21 14:35:56 +02:00
Alexandre Julliard 7c25ab8a07 shell32: Set the correct default for shell folders relative to the windows directory. 2008-05-06 15:50:10 +02:00
Alexandre Julliard 93e775a8b7 shell32: Avoid traces that use size_t. 2008-04-25 17:01:50 +02:00
Stefan Leichter a629a4199e shell32: Implement SHGetFolderPathAndSubDirA/W. 2008-04-21 14:21:37 +02:00
Ge van Geldorp 35d7f70612 shell32: Support getting the shell folder path for users other than the current user and the default user. 2008-03-27 11:29:42 +01:00
Lei Zhang b8cbd8bd87 shell32: Use xdg well known directories for desktop folder symbolic link. 2008-03-12 12:20:01 +01:00
Lei Zhang 78f5db2b51 shell32: Use xdg well known directories for my_xxx folder symbolic links. 2008-03-12 12:19:21 +01:00
Lei Zhang 5637c779d2 shell32: Remove unused variable. 2008-03-05 11:21:24 +01:00
James Hawkins 26ad93947b janitorial: Remove links to any microsoft site. 2008-03-01 12:04:09 +01:00
Lei Zhang 4dda7c6371 shell32: Don't crash if $HOME is not set. 2007-11-13 13:33:26 +01:00
Lei Zhang 70c75dcd0d shell32: rename My Video to My Videos. 2007-11-13 13:33:21 +01:00
Alexandre Julliard 0faf3f8a1a Avoid non-portable Unix mode bits macros. 2007-07-31 13:18:03 +02:00
Francois Gouget aab5e5856e Don't put single quotes around '%s' when using the debugstr_*() functions. 2007-01-18 12:55:50 +01:00
Andrew Talbot fdd9a4e2a7 shell32: Cast-qual warnings fix. 2006-11-15 11:32:38 +01:00
Hans Leidekker 89e1d29482 shell32: Win64 printf format warning fixes. 2006-10-09 12:45:02 +02:00
Andrew Talbot 30806fc00c shell32: Cast-qual warnings fix. 2006-10-02 11:55:26 +02:00
Stefan Huehner 998e256c82 Fix some -Wstrict-prototype warnings () -> (void). 2006-08-21 12:06:26 +02:00
Vitaliy Margolen a3aa7cf033 shell32: Add Fonts to user's shell folders list. 2006-06-02 10:52:33 +02:00
Jonathan Ernst 360a3f9142 Update the address of the Free Software Foundation. 2006-05-23 14:11:13 +02:00
Michael Jung d7326ca7e5 shell32: Return a GUID pidl for CSIDL_PERSONAL in SHGetFolderLocation.
The tests (shellpath.c/testPersonal) already show that it can be either 
PT_FOLDER or PT_GUID. It's PT_GUID on WinXP.
2006-02-14 11:35:12 +01:00
Michael Jung 77474f8a14 shell32: Create $HOME targeted symbolic links during SHELL_RegisterFolders. 2006-02-02 13:28:29 +01:00
Michael Jung 7a893cbe7a shell32: Get rid of the magic MyDocuments->$HOME mapping code. 2006-02-02 13:27:42 +01:00
Aric Stewart 265c8a5d73 shell32: Update shellpaths My Pictures, My Video, My Music to be under
$HOME, with a number of fallbacks.
2006-01-19 12:43:14 +01:00
Vitaliy Margolen c99880d955 shell32: Create Local AppData for user profile.
Move history and internet tmp files to Local Settings.
2006-01-04 14:48:59 +01:00
Stefan Leichter a4af4b95b5 shell32: Fix return value of PathProcessCommand. 2005-12-16 12:41:11 +01:00
Markus Gömmel ab86f8cde3 Added CSIDL_MYVIDEO|MYPICTURES|MYMUSIC to _SHRegisterUserShellFolders. 2005-11-30 18:27:06 +01:00