Unit 'sysutils' Package
[Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] [#rtl]


Callback to create GUID values.


Source position: sysutilh.inc line 261

var OnCreateGUID: TCreateGUIDFunc = Nil;


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



Create a new GUID.



Callback prototype to create GUIDs.

Documentation generated on: Jul 24 2023