Commit Graph

27 Commits

Author SHA1 Message Date
Hans Leidekker fd044802b9 userenv: Fix setting the ALLUSERSPROFILE environment variable.
Since 27edd4e35c ALLUSERSPROFILE is set to
C:\\users\\C:\\users\\Public. This is because the expanded registry
value of "Public" is appended to "ProfilesDirectory" and "Public" expands
to a full path. AllUsersProfile, used before this commit, expanded to just
"Public".

Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-09-05 17:02:28 +02:00
Dmitry Timoshkov 27edd4e35c shell32: Use Public instead of AllUsersProfile in the registry.
This matches what recent Windows versions set in the process environment.

Signed-off-by: Dmitry Timoshkov <dmitry@baikal.ru>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-08-23 12:39:59 +02:00
Michael Stefaniuc 53a3c77c98 userenv: Use the ARRAY_SIZE() macro.
Signed-off-by: Michael Stefaniuc <mstefani@winehq.org>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-08-14 10:16:02 +02:00
Jacek Caban 1c721e7164 userenv: Added a few more stubs. 2013-07-24 11:11:51 -05:00
Alexandre Julliard f02cdd877f Remove empty DLL_PROCESS_DETACH case statements. 2013-04-15 16:45:35 +02:00
Francois Gouget 48515313fd userenv: Add a missing include directive to userenv.h. 2011-12-13 18:59:04 +01:00
Piotr Caban f0d8c3383e userenv: Improved CreateEnvironmentBlock implementation. 2011-11-15 19:37:33 +01:00
Hans Leidekker 8c7d6b1c94 userenv: Initialize a variable (valgrind). 2011-03-07 13:16:51 +01:00
Joris Huizer fa7c08820b userenv: GetUserProfileDirectoryW: Plug memory leak. 2011-03-03 17:47:15 +01:00
Hans Leidekker c4d8f7400b userenv: Implement and test GetUserProfileDirectory. 2011-03-02 12:50:59 +01:00
Hans Leidekker 1c6ea02ffa userenv: GetProfilesDirectoryW accepts a NULL buffer. 2011-03-02 12:50:59 +01:00
Austin English 84972be4aa userenv: Add a stub for GetDefaultUserProfileDirectoryA/W. 2010-09-22 12:44:02 +02:00
Juan Lang e5394c6ce5 userenv: Implement GetProfilesDirectory. 2010-08-27 12:28:04 +02:00
Andrey Turkin baf86a13f3 userenv: Implement stubbed userenv.dll.138. 2010-03-02 14:29:29 +01:00
Maarten Lankhorst 83486aaf66 userenv: Implement DestroyEnvironmentBlock. 2010-02-02 11:47:20 +01:00
Piotr Caban 6981816388 userenv: Added GetAllUsersProfileDirectory[AW] stubs. 2010-02-01 12:10:44 +01:00
Austin English 4814d67ed5 userenv: Add a stub for LoadUserProfileW. 2009-08-05 15:30:16 +02:00
Lei Zhang bca84d5467 userenv: Initial implementation of CreateEnvironmentBlock. 2008-04-30 13:45:23 +02:00
Rob Shearman ac7e221c20 userenv: Add a stub for UnloadUserProfile. 2007-09-21 12:05:42 +02:00
Francois Gouget 41c6d23365 userenv: Add a skeleton userenv.h header and use it. 2007-08-10 11:56:08 +02:00
Yuval Fledel ec16e6323e userenv: Make GetProfileType report a normal (non-roaming) profile. 2007-04-23 13:56:08 +02:00
Hans Leidekker 68b255e5e2 userenv: Add stub implementations for {Register, Unregister}GPNotification. 2007-03-19 13:55:32 +01:00
Hans Leidekker 0e59ff2592 userenv: Implement ExpandEnvironmentStringsForUser{A,W}. 2007-02-20 20:23:58 +01:00
Michael Stefaniuc 41dd56cb7f "One liners" printf format warning fixes for the migration of DWORD/LONG/ULONG from long to int. 2006-09-29 16:09:24 +02:00
Hans Leidekker 3a40b175c4 userenv: Add a stub implementation for GetProfileType. 2006-06-27 21:14:02 +02:00
Mike McCormack 4a2d96077e userenv: Add profinfo.h. 2006-06-13 11:40:23 +02:00
Mike McCormack a6ea0f61d9 userenv: Add a stub implementation of userenv.dll. 2006-06-05 21:07:33 +02:00