CFGetTypeID

Header: CFBase.h Carbon status: Supported

Obtains the unique identifier of the opaque type to which a Core Foundation object belongs.

CFTypeID CFGetTypeID (
    CFTypeRef cf
);
Parameter descriptions
cf

A generic reference of type CFTypeRef. Pass a reference to any Core Foundation object whose type ID you want to obtain.

function result

A value of type CFTypeID that identifies the opaque type of a Core Foundation object.

DISCUSSION

This function returns a value that uniquely identifies the opaque type of any Core Foundation object. You can compare this value with the known CFTypeID identifier obtained with a "GetTypeID" function specific to a type, for example CFDateGetTypeID. These values might change from release to release or platform to platform.

AVAILABILITY

Supported in Carbon. Available in Carbon 1.0.2 and later.


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