NtAllocateUuids - NtDoc

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

/**
 * The NtAllocateUuids routine allocates a block of universally unique identifiers (UUIDs).
 *
 * \param Time A pointer to a variable that receives the timestamp used for the allocated UUIDs.
 * \param Range A pointer to a variable that receives the number of UUIDs available in the allocated range.
 * \param Sequence A pointer to a variable that receives the clock sequence value.
 * \param Seed A pointer to a variable that receives the seed (node identifier) value.
 * \return NTSTATUS Successful or errant status.
 * \see https://learn.microsoft.com/en-us/windows/win32/api/rpcdce/nf-rpcdce-uuidcreatesequential
 */
_Kernel_entry_
NTSYSCALLAPI
NTSTATUS
NTAPI
NtAllocateUuids(
    _Out_ PULARGE_INTEGER Time,
    _Out_ PULONG Range,
    _Out_ PULONG Sequence,
    _Out_ PCHAR Seed
    );

#endif
#endif

View code on GitHub
#ifndef _NTZWAPI_H

_Kernel_entry_
NTSYSCALLAPI
NTSTATUS
NTAPI
ZwAllocateUuids(
    _Out_ PULARGE_INTEGER Time,
    _Out_ PULONG Range,
    _Out_ PULONG Sequence,
    _Out_ PCHAR Seed
    );

#endif

View code on GitHub

NtDoc

No description available.

NTinternals.net (undocumented.ntinternals.net)

Function NtAllocateUuids allocates User Unique Identifier's base values. UUIDs are used to build unique SIDs.

Time

Returns current time.

Range

Returns allocation range. (???)

Sequence

Returns allocation sequence. (???)

Documented by

See also