Windows Driver Kit: Kernel-Mode Driver Architecture
ExUuidCreate
The ExUuidCreate routine initializes a UUID (GUID) structure to a newly-generated value.
NTSTATUS
ExUuidCreate(
OUT UUID *Uuid,
);
Parameters
- Uuid
- Pointer to a caller-allocated UUID (GUID) structure that is set to a new UUID value.
Return Value
ExUuidCreate returns STATUS_SUCCESS if successful; otherwise, if the system is not ready to generate a new UUID, it returns STATUS_RETRY.
Comments
A UUID and a GUID are the same data type.
The caller can iteratively attempt to obtain a new UUID value.
Requirements
IRQL: PASSIVE_LEVEL
Headers: Declared in ntddk.h. Include ntddk.h.
APIScan Requirements
Header: Wdm.h, Ntddk.h, Ntifs.h
Function: ExUuidCreate