Commit Graph

96 Commits

Author SHA1 Message Date
Aric Stewart 990ea44e98 Implementation of PathCleanupSpec. 2004-11-04 04:54:08 +00:00
Fabrice Ménard 7ce764669e Check the type of error returned by SHCreateDirectoryExW. 2004-11-02 05:22:39 +00:00
Rolf Kalbermatter e50a27de04 Use SHCreateDirectoryEx function instead of doing explicit recursive
directory creation.
2004-10-28 20:58:51 +00:00
Juan Lang c639af64be _SHExpandEnvironmentStrings should return input string if no % found
to expand, and should call ExpandEnvironmentStringsW if it doesn't
handle an environment variable directly.  Based on a patch from Dan
Kegel.
2004-10-27 21:17:30 +00:00
Juan Lang 4a6a898e2d Avoid copying invalid data on error. 2004-10-25 21:53:18 +00:00
Alexandre Julliard 2d2e2e1e55 Avoid copying invalid data on error. 2004-10-22 20:26:23 +00:00
Juan Lang 9cbc42bbae - the correct registry location to override is User Shell Folders, not
Shell Folders
- if User Shell Folders doesn't exist in HKCU, HKLM should be tried
- SHGetSpecialFolderPath should call SHGetFolderPath, not vice-versa
- the default values should be localizable
- some of the parameter checking and returned LPITEMIDLISTs were a bit
  off
2004-10-21 19:59:46 +00:00
Alexandre Julliard ed19983d65 Fixed typo in ProgramsW.
Changed the case of windows and system directories to match the
directories we create by default.
2004-10-04 20:49:51 +00:00
Francois Gouget bc371a83ec Fix CSIDL_COMMON_{STARTMENU,PROGRAMS,DESKTOPDIRECTORY} so they all use
paths in 'All Users' like CSIDL_COMMON_STARTUP.
The CSIDL_COMMON_PROGRAMS fix solves many menu creation problems.
2004-09-21 20:05:54 +00:00
Huw Davies 0af47c8080 Unicodify a load of strings. 2004-08-20 19:57:50 +00:00
Vincent Béron 6fae1ce6fd Don't hardcode c:\windows paths in msi.dll. 2004-08-18 23:41:10 +00:00
Aric Stewart 3d9fb73909 Make sure that the size of the buffer passed to RegSetValueExW is in
bytes not WCHARs.
2004-05-28 19:28:41 +00:00
Juan Lang f3301c6ba9 - comment fixes
- improved error checking and conformance with Windows
- remove some spurious error messages
2004-04-07 19:45:48 +00:00
Juan Lang 452ddeb3e2 Use symbolic constants for magic numbers in SHGetFolderPathW, avoid
doing MultiByteToWideChar on values that don't need it,
2004-04-05 23:13:20 +00:00
Kevin Koltzau 33a6215dc3 Added support for CSIDL_RESOURCES path. 2004-04-01 02:01:33 +00:00
Kevin Koltzau 6eb4b2f694 Fill unused gap to fix lookups past CSIDL_CONNECTIONS. 2004-02-24 00:58:20 +00:00
Patrik Stridvall ede82e3055 Fixed some issues found by winapi_check. 2004-02-20 20:19:23 +00:00
Martin Fuchs 703676f533 - define additional shell paths for CSIDL_... constants
- remove some superfluous commas
2004-01-26 20:09:10 +00:00
Rolf Kalbermatter 7af8b13f11 Implement PathGetShortPathA/W and change its prototype to match the
documentation on MSDN.
2004-01-21 23:51:57 +00:00
Martin Fuchs e6ab6bdcd7 Corrected definition of PathYetAnotherMakeUniqueName(). 2004-01-16 23:04:41 +00:00
Filip Navara c4dd56bc25 - Moved actual code from SHGetSpecialFolderPathA to SHGetFolderPathW,
adjusted and unicodified it.
- Rewrote SHGetFolderPathA to call SHGetFolderPathW.
- Rewrote SHGetSpecialFolderPath[AW] to call SHGetFolderPath[AW].
2004-01-16 04:46:36 +00:00
Francois Gouget cd1a13b00e If using the default values, also set dwType to REG_SZ as our default
strings don't need to be expanded (found by Valgrind).
2003-11-20 04:21:12 +00:00
Rolf Kalbermatter 76f13deb26 Use INVALID_FILE_ATTRIBUTES to test for failure of
GetFileAttributesA/W and not -1 or 0xFFFFFFFF.
2003-10-16 19:12:49 +00:00
Mike McCormack 73756ce844 Change a MESSAGE about creating a directory to a TRACE. 2003-10-02 04:27:21 +00:00
Rolf Kalbermatter 82f46ab1c3 Added IsLFNDriveA/W/AW exports and two more stubs. 2003-09-30 00:19:44 +00:00
Rolf Kalbermatter 7ffcb0ea98 Change parameter in SHGetSpecialFolderPathA/W to int as documented in
MSDN.
Add some more definitions and move SHGetDesktopFolder() from
wine/obj_shellfolder.h to here.
2003-09-08 18:47:10 +00:00
Alexandre Julliard e37c6e18d0 Fixed header dependencies to be fully compatible with the Windows
headers (with help from Dimitrie O. Paun).
2003-09-05 23:08:26 +00:00
Alexandre Julliard 864ca06832 winnls.h must not include winbase.h. 2003-08-20 18:22:31 +00:00
Paul Rupe ae379a44fd Add CSIDL_PROFILES. Improved logging for non-existent CSIDL values. 2003-03-17 04:42:45 +00:00
Johan Dahlin 991fd85d2f Make shell32 compile with -DSTRICT. 2002-11-21 23:56:42 +00:00
Jeff Smith a3763b9bc8 PathIsExe: corrected and added executable types. 2002-09-30 19:01:20 +00:00
Michael Stefaniuc 1ad2087e38 Convert HKEY to a void*. 2002-09-24 03:09:12 +00:00
Patrik Stridvall 9aab47ed24 MSVC compatibility fixes. 2002-08-28 23:42:34 +00:00
Gregg Mattinson 2e38a17021 Void functions can't return a value, even if it is the return value
from another void function.
2002-07-03 01:20:07 +00:00
Vincent Béron 9a62491660 Removed trailing whitespace. 2002-05-31 23:06:46 +00:00
Jon Griffiths c90aa7b665 Update shell xxxAW wrapper prototypes for fixed SHLWAPI functions. 2002-03-20 01:33:39 +00:00
Alexandre Julliard 0799c1a780 Added LGPL standard comment, and copyright notices where necessary.
Global replacement of debugtools.h by wine/debug.h.
2002-03-09 23:29:33 +00:00
Eric Kohl e4d4f2d59f Added location of local application data. 2002-01-29 18:19:59 +00:00
Jon Griffiths 603f20fc0e Add exclusion defs & remaining funcs, remove internal types &
obj_base.h (sync with win version), fixed a number of function
prototypes.
2001-12-11 00:30:17 +00:00
Chris Green 151fdd7c82 Added names of the "missing" paths for SHGetSpecialFolderPathA. 2001-10-10 02:48:29 +00:00
Alexandre Julliard 3954117ce4 Moved undocshell.h to dlls/shell32. Removed shell16.h. 2001-08-16 18:49:56 +00:00
Uwe Bonnes 97ac961214 PathGetExtensionAW has three arguments. 2001-08-15 23:20:21 +00:00
Alexandre Julliard fa7ae72060 Fixed loop termination check in PathIsExeW. 2001-08-08 23:24:15 +00:00
Patrik Stridvall 044855c6ec Documentation fixes. 2001-07-11 18:56:41 +00:00
Patrik Stridvall 01d5e5b071 Documentation fixes. 2001-07-02 19:59:40 +00:00
Patrik Stridvall 8b216b3d02 Documentation ordinal fixes. 2001-06-19 18:20:47 +00:00
Marcus Meissner 657d9f9ca8 The shell special folder path creation did not mkdir the last
component of the path if it did not end with \.
2001-05-18 20:58:57 +00:00
Eric Kohl 76df432757 SHGetSpecialFolderPathA must be able to create a full path if it
doesn't exist.
2001-03-19 19:14:00 +00:00
Andreas Mohr c9cf70d448 Some more cleanups. 2001-01-26 20:40:50 +00:00
Huw D M Davies 62519abbaf Moved all the documented shlwapi functions out of undocshell.h into
shlwapi.h.  Nothing but files in dlls/shell32 will now include
undocshell.h.
2001-01-07 21:50:52 +00:00