RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
SysUtils.CreateGUID Function

Creates a globally unique identifier.

Pascal
function CreateGUID(out Guid: TGUID): HResult; stdcall;
C++
__stdcall HRESULT CreateGUID(TGUID Guid);

SysUtils

CreateGUID sets Guid to a new-created Globally Unique Identifier.

Note: Under Windows, CreateGUID calls the Windows API CoCreateGUID.
Note: Under Linux, CreateGUID calls uuid_generate_time.
 

Copyright(C) 2008 CodeGear(TM). All Rights Reserved.
What do you think about this topic? Send feedback!