Sign in Join
FPDoc Onlineexperiment

OnCreateGUID variable

In unit sysutils

Callback to create GUID values.

Declaration

pascal
OnCreateGUID: TCreateGUIDFunc = Nil

Description

OnCreateGUID can be set to point to a custom routine that creates GUID values. If set, the CreateGUID function will use it to obtain a GUID value. If it is not set, a default implementation using random values will be used to create the unique value. The function should return a valid GUID in the GUID parameter, and should return zero in case of success.

See also

An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.