CFBundleGetFunctionPointerForNameHeader: CFBundle.h

Obtains a pointer to a function in a bundle's executable code using the function name as the search key.

void *CFBundleGetFunctionPointerForName (
    CFBundleRef bundle, 
    CFStringRef functionName
);
bundle

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

functionName

A reference value of type CFStringRef containing the name of the function you wish to locate.

function result

An untyped pointer containing the function's address in memory, or NULL if the function was not found.

DISCUSSION

Calling this function will cause the bundle's code to be loaded if necessary.


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