CFBundleCopyResourceURLsOfTypeHeader: CFBundle.h

Assembles an array of URLs specifying all of the resources of the specified type found in a bundle.

CFArrayRef CFBundleCopyResourceURLsOfType (
    CFBundleRef bundle, 
    CFStringRef resourceType, 
    CFStringRef subDirName
);
bundle

A reference value of type CFBundleRef indicating the bundle whose resources you wish to search.

resourceType

A reference value of type CFStringRef indicating the abstract type of the resources you wish to locate.

subDirName

A reference value of type CFStringRef indicating a specific subdirectory of the bundle's Resources directory you wish to search. Pass NULL to search the standard CFBundle resource locations.

function result

A reference value of type CFArrayRef containing a list of CFURLRefs.


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