Show: Object Pascal C++
Display Preferences

System.SysUtils.CreateGUID

From Appmethod Libraries
Jump to: navigation, search

Object Pascal

function CreateGUID(out Guid: TGUID): HResult;

C++

extern DELPHI_PACKAGE HRESULT __fastcall CreateGUID(/* out */ GUID &Guid);

Properties

Type Visibility Source Unit Parent
function public
System.SysUtils.pas
System.SysUtils.hpp
System.SysUtils System.SysUtils

Description

Creates a globally unique identifier.

CreateGUID sets GUID to a newly created Globally Unique Identifier.

Note: Under Windows, CreateGUID calls the Windows API CoCreateGuid.
Note: On MAC OS, GUID is generated using the uuid_generate_time function from the libc runtime, which uses the NIC MAC address, if available.

See Also

Code Examples

Personal tools
Translations