Bewerken

Delen via


RtlConvertLongToLuid function (ntddk.h)

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

Syntax

LUID NTAPI_INLINE RtlConvertLongToLuid(
  [in] LONG Long
);

Parameters

[in] Long

Specifies the long integer to convert.

Return value

RtlConvertLongToLuid returns the converted LUID.

Remarks

RtlConvertLongToLuid is used to convert a system-defined privilege value to the locally unique identifier (LUID) used by the system to represent that privilege. Drivers typically pass a LUID to SeSinglePrivilegeCheck, which is usually called by network transport drivers.

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

RtlConvertULongToLuid

RtlEqualLuid

SeSinglePrivilegeCheck