CFBundleCreateHeader: CFBundle.h

Creates a CFBundle instance.

CFBundleRef CFBundleCreate (
    CFAllocatorRef allocator, 
    CFURLRef bundleURL
);
allocator

A reference value of the CFAllocatorRef indicating the memory allocator you with to use. Pass NULL to use the default allocator.

bundleURL

A reference value of type CFBundleRef indicating the bundle directory for which you wish to create an instance.

function result

A reference value of type CFBundleRef containing a Core Foundation object created from the bundle at the specified location. NULL is returned if there was a memory allocation problem or if the bundle doesn't exist at the specified location.


© 1999 Apple Computer, Inc. — (Last Updated 9/17/99)