Expand Minimize

ExUuidCreate routine

The ExUuidCreate routine initializes a UUID (GUID) structure to a newly generated value.

Syntax


NTSTATUS ExUuidCreate(
  _Out_  UUID *Uuid
);

Parameters

Uuid [out]

A 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.

Remarks

A UUID and a GUID are the same data type.

The caller can iteratively attempt to obtain a new UUID value.

Requirements

Version

Available starting with Windows 2000.

Header

Ntddk.h (include Ntddk.h)

Library

Ntoskrnl.lib

IRQL

PASSIVE_LEVEL

DDI compliance rules

IrqlExPassive, PowerIrpDDis, HwStorPortProhibitedDDIs

 

 

Send comments about this topic to Microsoft

Show:
© 2014 Microsoft