mirror of
https://github.com/reactos/reactos.git
synced 2025-02-24 01:15:09 +00:00
Create the user-specific registry hive.
svn path=/trunk/; revision=7837
This commit is contained in:
parent
d1f3d3bb40
commit
ffad6ce8ff
1 changed files with 2 additions and 4 deletions
|
@ -1,4 +1,4 @@
|
|||
/* $Id: profile.c,v 1.3 2004/01/16 15:31:53 ekohl Exp $
|
||||
/* $Id: profile.c,v 1.4 2004/01/23 10:39:22 ekohl Exp $
|
||||
*
|
||||
* COPYRIGHT: See COPYING in the top level directory
|
||||
* PROJECT: ReactOS system libraries
|
||||
|
@ -246,7 +246,6 @@ CreateUserProfileW (PSID Sid,
|
|||
/* Create user hive name */
|
||||
wcscat (szUserProfilePath, L"\\ntuser.dat");
|
||||
|
||||
#if 0
|
||||
/* Create new user hive */
|
||||
if (RegLoadKeyW (HKEY_USERS,
|
||||
SidString.Buffer,
|
||||
|
@ -257,7 +256,7 @@ CreateUserProfileW (PSID Sid,
|
|||
return FALSE;
|
||||
}
|
||||
|
||||
/* Create user hive */
|
||||
/* Initialize user hive */
|
||||
if (!CreateUserHive (SidString.Buffer))
|
||||
{
|
||||
DPRINT1("Error: %lu\n", GetLastError());
|
||||
|
@ -267,7 +266,6 @@ CreateUserProfileW (PSID Sid,
|
|||
|
||||
RegUnLoadKeyW (HKEY_USERS,
|
||||
SidString.Buffer);
|
||||
#endif
|
||||
|
||||
RtlFreeUnicodeString (&SidString);
|
||||
|
||||
|
|
Loading…
Reference in a new issue