mirror of
https://github.com/reactos/reactos.git
synced 2024-08-12 06:06:27 +00:00
[ADVAPI32]
* Reorder AllocateLocallyUniqueId() to reduce difference to Wine. CORE-8540 svn path=/trunk/; revision=64963
This commit is contained in:
parent
7ff75bbc92
commit
f54eb842d6
|
@ -799,6 +799,24 @@ GetLengthSid(PSID pSid)
|
|||
return (DWORD)RtlLengthSid(pSid);
|
||||
}
|
||||
|
||||
/*
|
||||
* @implemented
|
||||
*/
|
||||
BOOL WINAPI
|
||||
AllocateLocallyUniqueId(PLUID Luid)
|
||||
{
|
||||
NTSTATUS Status;
|
||||
|
||||
Status = NtAllocateLocallyUniqueId (Luid);
|
||||
if (!NT_SUCCESS (Status))
|
||||
{
|
||||
SetLastError(RtlNtStatusToDosError(Status));
|
||||
return FALSE;
|
||||
}
|
||||
|
||||
return TRUE;
|
||||
}
|
||||
|
||||
/*
|
||||
* @implemented
|
||||
*/
|
||||
|
@ -2174,24 +2192,6 @@ DuplicateToken(IN HANDLE ExistingTokenHandle,
|
|||
DuplicateTokenHandle);
|
||||
}
|
||||
|
||||
/*
|
||||
* @implemented
|
||||
*/
|
||||
BOOL WINAPI
|
||||
AllocateLocallyUniqueId(PLUID Luid)
|
||||
{
|
||||
NTSTATUS Status;
|
||||
|
||||
Status = NtAllocateLocallyUniqueId (Luid);
|
||||
if (!NT_SUCCESS (Status))
|
||||
{
|
||||
SetLastError(RtlNtStatusToDosError(Status));
|
||||
return FALSE;
|
||||
}
|
||||
|
||||
return TRUE;
|
||||
}
|
||||
|
||||
/******************************************************************************
|
||||
* ComputeStringSidSize
|
||||
*/
|
||||
|
|
Loading…
Reference in a new issue