RtlCopyLuid function (ntifs.h)

The RtlCopyLuid routine copies a locally unique identifier (LUID) to a buffer.

Syntax

NTSYSAPI VOID RtlCopyLuid(
  [out] PLUID DestinationLuid,
  [in]  PLUID SourceLuid
);

Parameters

[out] DestinationLuid

Pointer to a caller-allocated buffer to receive a copy of the source LUID structure. The buffer must be at least sizeof(LUID).

[in] SourceLuid

Pointer to the source LUID structure to be copied.

Return value

None

Remarks

RtlCopyLuid does not check whether the LUID at SourceLuid is structurally valid.

For more information about security and access control, see Windows security model for driver developers and the documentation on these topics in the Windows SDK.

Requirements

Requirement Value
Target Platform Universal
Header ntifs.h (include Ntifs.h)
Library NtosKrnl.lib
DLL NtosKrnl.exe
IRQL < DISPATCH_LEVEL

See also

LUID

RtlEqualLuid

SeQueryAuthenticationIdToken