RtlConvertUlongToLuid function (ntddk.h)

The RtlConvertUlongToLuid routine converts an unsigned long integer to a locally unique identifier (LUID), which is used by the system to represent a security privilege.

Syntax

LUID NTAPI_INLINE RtlConvertUlongToLuid(
  [in] ULONG Ulong
);

Parameters

[in] Ulong

Specifies the unsigned long integer to convert.

Return value

RtlConvertUlongToLuid returns the converted LUID.

Remarks

RtlConvertUlongToLuid is used to convert a system-defined privilege value, passed as a ULONG, to a locally unique identifier (LUID) used by the system to represent that privilege. Drivers typically pass a LUID to SeSinglePrivilegeCheck.

Requirements

Requirement Value
Minimum supported client Available starting with Windows 2000.
Target Platform Desktop
Header ntddk.h (include Ntddk.h, Ntifs.h)
IRQL Any level

See also

LUID

RtlConvertLongToLuid

RtlEqualLuid

SeSinglePrivilegeCheck