You are here

function _uuid_generate_com in Universally Unique IDentifier 7

Generates a UUID using the Windows internal GUID generator.

See also

http://php.net/com_create_guid

1 string reference to '_uuid_generate_com'
uuid_generate in ./uuid.inc
Generates an universally unique identifier.

File

./uuid.inc, line 210
Handling of universally unique identifiers.

Code

function _uuid_generate_com() {

  // Remove {} wrapper and make lower case to keep result consistent.
  return drupal_strtolower(trim(com_create_guid(), '{}'));
}