The ExUuidCreate routine initializes a UUID (GUID) structure to a newly generated value.
NTSTATUS ExUuidCreate( UUID *Uuid );
A pointer to a caller-allocated UUID (GUID) structure that is set to a new UUID value.
Possible return values include the following status codes.
||The routine successfully generated a UUID that is universally unique.|
||The routine generated a UUID that is unique only to this computer. This can occur when the MAC address is not an IEEE universally-administered address or when no NICs are present.|
||The system is not ready to generate a new UUID.|
A UUID and a GUID are the same data type.
The caller can iteratively attempt to obtain a new UUID value.
|Minimum supported client||Available starting with Windows 2000.|
|Header||ntddk.h (include Ntddk.h)|
|DDI compliance rules||IrqlExPassive, PowerIrpDDis, HwStorPortProhibitedDDIs|