CFUUIDCreateFromString

Header: CFUUID.h Carbon status: Under Evaluation

Creates a CFUUID object using the specified string.

CFUUIDRef CFUUIDCreateFromString (
    CFAllocatorRef alloc, 
    CFStringRef uuidStr
);
Parameter descriptions
alloc

The memory allocator to use. Pass kCFAllocatorDefault to use the system allocator.

uuidStr

The UUID string you wish to use to create the CFUUID object.

function result

The newly created CFUUID object.

DISCUSSION

The standard format for UUIDs represented in ASCII is a string punctuated by hyphens, for example 68753A44-4D6F-1226-9C60-0050E4C00067.

If a CFUUID object of the same value has been previously created, the function will return the existing instance with its reference count bumped.

AVAILABILITY

Under evaluation for Carbon. Available in Carbon 1.1 and later when CarbonLib 1.1CarbonLib 1.1 or later is present.


© 2000 Apple Computer, Inc. (Last Updated 6/30/2000)