Group: Remote Procedure Call (RPC) - Library: rpcrt4
RPC_STATUS RPC_ENTRY UuidCreate(
UUID __RPC_FAR *Uuid
);
DECLARE INTEGER UuidCreate IN Rpcrt4;
STRING @Uuid
Uuid Returns a pointer to the created UUID.
Returns RPC_S_OK (0) if the call succeeded.
For security reasons, UuidCreate was modified so that it no longer uses a machine"s MAC address to generate UUIDs.
UuidCreateSequential was introduced to allow creation of UUIDs using the MAC address of a machine"s Ethernet card.
Read article GUIDs and UUIDs explained on the BetterExplained.
See also: UuidCreateSequential, UuidCreateNil, CoCreateGuid.