mirror of
https://github.com/reactos/reactos.git
synced 2024-12-28 01:55:19 +00:00
removed obsolete variable in RegOpenUserClassesRoot()
svn path=/trunk/; revision=17557
This commit is contained in:
parent
a16e6f61c5
commit
64b5d11940
1 changed files with 3 additions and 6 deletions
|
@ -2308,7 +2308,6 @@ RegOpenUserClassesRoot (IN HANDLE hToken,
|
|||
ULONG RequiredLength;
|
||||
UNICODE_STRING UserSidString, UserClassesKeyRoot;
|
||||
OBJECT_ATTRIBUTES ObjectAttributes;
|
||||
LONG ErrorCode;
|
||||
NTSTATUS Status;
|
||||
|
||||
/* check parameters */
|
||||
|
@ -2333,8 +2332,7 @@ ReadTokenSid:
|
|||
/* NOTE - as opposed to all other registry functions windows does indeed
|
||||
change the last error code in case the caller supplied a invalid
|
||||
handle for example! */
|
||||
ErrorCode = RtlNtStatusToDosError (Status);
|
||||
return ErrorCode;
|
||||
return RtlNtStatusToDosError (Status);
|
||||
}
|
||||
|
||||
TokenUserData = RtlAllocateHeap(ProcessHeap,
|
||||
|
@ -2365,8 +2363,7 @@ ReadTokenSid:
|
|||
/* NOTE - as opposed to all other registry functions windows does indeed
|
||||
change the last error code in case the caller supplied a invalid
|
||||
handle for example! */
|
||||
ErrorCode = RtlNtStatusToDosError (Status);
|
||||
return ErrorCode;
|
||||
return RtlNtStatusToDosError (Status);
|
||||
}
|
||||
|
||||
/*
|
||||
|
@ -3974,7 +3971,7 @@ RegLoadMUIStringA(IN HKEY hKey,
|
|||
IN ULONG Reserved,
|
||||
IN LPCSTR pszDirectory OPTIONAL)
|
||||
{
|
||||
DPRINT1("RegLoadMUIStringW(0x%p, 0x%p, 0x%p, 0x%x, 0x%x, 0x%p) UNIMPLEMENTED!\n",
|
||||
DPRINT1("RegLoadMUIStringA(0x%p, 0x%p, 0x%p, 0x%x, 0x%x, 0x%p) UNIMPLEMENTED!\n",
|
||||
hKey, pszValue, pszOutBuf, cbOutBuf, Reserved, pszDirectory);
|
||||
return ERROR_CALL_NOT_IMPLEMENTED;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue