The LUID_AND_ATTRIBUTES structure represents a locally unique identifier (LUID) and its attributes.
typedef struct _LUID_AND_ATTRIBUTES { // luaa LUID Luid; DWORD Attributes; } LUID_AND_ATTRIBUTES;
An LUID_AND_ATTRIBUTES structure can represent an LUID whose attributes change frequently, such as when it is used to represent privileges in the PRIVILEGE_SET structure. Privileges are represented by LUIDs and have attributes indicating whether they are currently enabled or disabled.
AllocateLocallyUniqueId, LUID, PRIVILEGE_SET, TOKEN_PRIVILEGES