RtlCopyLuid - NtDoc

Native API online documentation, based on the System Informer (formerly Process Hacker) phnt headers
#ifndef _NTRTL_H

NTSYSAPI
VOID
NTAPI
RtlCopyLuid(
    _Out_ PLUID DestinationLuid,
    _In_ PLUID SourceLuid
    );

#endif

View code on GitHub
// ntifs.h

NTSYSAPI VOID RtlCopyLuid(
  [out] PLUID DestinationLuid,
  [in]  PLUID SourceLuid
);
View the official Windows Driver Kit DDI reference

NtDoc

This function is documented in Windows Driver Kit.

Windows Driver Kit DDI reference (nf-ntifs-rtlcopyluid)

RtlCopyLuid function

Description

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

Parameters

DestinationLuid [out]

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

SourceLuid [in]

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.

See also

LUID

RtlEqualLuid

SeQueryAuthenticationIdToken