function _ctools_uuid_generate_com

Generates a UUID using the Windows internal GUID generator.

See also

http://php.net/com_create_guid

1 string reference to '_ctools_uuid_generate_com'
ctools_uuid_generate in ./ctools.module
Wrapper function to create UUIDs via ctools, falls back on UUID module if it is enabled. This code is a copy of uuid.inc from the uuid module.

File

includes/uuid.inc, line 21

Code

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