#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
);
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
);
View code on GitHubNo description available.
Function NtAllocateUuids allocates User Unique Identifier's base values. UUIDs are used to build unique SIDs.
Returns current time.
Returns allocation range. (???)
Returns allocation sequence. (???)