3 * COPYRIGHT: See COPYING in the top level directory
4 * PROJECT: ReactOS kernel
5 * PURPOSE: Locally unique identifier (LUID) helper functions
6 * FILE: lib/ntdll/rtl/luid.c
7 * PROGRAMER: Eric Kohl <ekohl@zr-online.de>
12 /* INCLUDES *****************************************************************/
14 #include <ddk/ntddk.h>
16 /* FUNCTIONS *****************************************************************/
19 RtlCopyLuid(PLUID LuidDest,
22 LuidDest->QuadPart = LuidSrc->QuadPart;
27 RtlCopyLuidAndAttributesArray(ULONG Count,
28 PLUID_AND_ATTRIBUTES Src,
29 PLUID_AND_ATTRIBUTES Dest)
33 for (i = 0; i < Count; i++)
35 RtlCopyMemory(&Dest[i],
37 sizeof(LUID_AND_ATTRIBUTES));
43 RtlEqualLuid(PLUID Luid1,
46 return((Luid1->QuadPart == Luid2->QuadPart) ? TRUE : FALSE);