Skip to content

Latest commit

 

History

History
51 lines (33 loc) · 1.17 KB

UuidCreateSequential.md

File metadata and controls

51 lines (33 loc) · 1.17 KB

Home

Function name : UuidCreateSequential

Group: Remote Procedure Call (RPC) - Library: rpcrt4


Creates a new UUID.


Code examples:

Generating sequential UUID values

Declaration:

RPC_STATUS RPC_ENTRY UuidCreateSequential(
	UUID __RPC_FAR *Uuid
);  

FoxPro declaration:

DECLARE INTEGER UuidCreateSequential IN Rpcrt4;
	STRING @Uuid  

Parameters:

Uuid Returns a pointer to the created UUID.


Return value:

Returns RPC_S_OK (0) if the call succeeded.


Comments:

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.

See also: UuidCreate, UuidCreateNil, UuidCompare, CoCreateGuid.