oi10:presentation_server:createguid_method_system

CREATEGUID Method (System)

Method to create a GUID, a unique 128-bit integer used for CLSIDs and interface identifiers.

GUID = Exec_Method( "SYSTEM", "CREATEGUID" )

N/A

A string containing a newly created GUID in printable hexadecimal characters. This has the format:

{nnnnnnnn-nnnn-nnnn-nnnn-nnnnnnnnnnnn}

E.g.

{DA1E9F6A-4AD1-4777-AD81-5274D2252AF0}

This method is a simple wrapper around the Windows API CoCreateGuid and StringFromGUID2 functions – for further information on GUIDs please see the MSDN website.

 
// Create a string GUID to use as an ID

  

  ThisID = Exec_Method( "SYSTEM", "CREATEGUID" )
 
 
 

N/A

  • oi10/presentation_server/createguid_method_system.txt
  • Last modified: 2023/10/25 10:49
  • by 127.0.0.1