NtAllocateLocallyUniqueId - NtDoc

Native API online documentation, based on the System Informer (formerly Process Hacker) phnt headers
#ifndef _NTEXAPI_H
#if (PHNT_MODE != PHNT_MODE_KERNEL)

// LUIDs

NTSYSCALLAPI
NTSTATUS
NTAPI
NtAllocateLocallyUniqueId(
    _Out_ PLUID Luid
    );

#endif
#endif

View code on GitHub
#ifndef _NTZWAPI_H

NTSYSCALLAPI
NTSTATUS
NTAPI
ZwAllocateLocallyUniqueId(
    _Out_ PLUID Luid
    );

#endif

View code on GitHub

This function is documented in Windows Driver Kit.


Function allocates LUID (Locally Unique Identifier) for future use.

LocallyUniqueId

Pointer to LUID structure receiving new locally unique identifier.

Documented by

See also