[ADVAPI32]

* Reorder AllocateLocallyUniqueId() to reduce difference to Wine.
CORE-8540

svn path=/trunk/; revision=64963
This commit is contained in:
Amine Khaldi 2014-10-24 16:57:17 +00:00
parent 7ff75bbc92
commit f54eb842d6

View file

@ -799,6 +799,24 @@ GetLengthSid(PSID pSid)
return (DWORD)RtlLengthSid(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 * @implemented
*/ */
@ -2174,24 +2192,6 @@ DuplicateToken(IN HANDLE ExistingTokenHandle,
DuplicateTokenHandle); DuplicateTokenHandle);
} }
/*
* @implemented
*/
BOOL WINAPI
AllocateLocallyUniqueId(PLUID Luid)
{
NTSTATUS Status;
Status = NtAllocateLocallyUniqueId (Luid);
if (!NT_SUCCESS (Status))
{
SetLastError(RtlNtStatusToDosError(Status));
return FALSE;
}
return TRUE;
}
/****************************************************************************** /******************************************************************************
* ComputeStringSidSize * ComputeStringSidSize
*/ */