Carbon


Routine Entry Point Flags

Header: MixedMode.h

enum {
    kProcDescriptorIsAbsolute = 0,
    kProcDescriptorIsRelative = 1
};

Constant descriptions

kProcDescriptorIsAbsolute

The address of the routine’s entry point specified in the procDescriptor field of a routine record is an absolute address.

kProcDescriptorIsRelative

The address of the routine’s entry point specified in the procDescriptor field of a routine record is relative to the beginning of the routine descriptor. If the code is contained in a resource and its absolute location is not known until run time, you should set this flag.

The routineFlags field of a routine record contains a set of flags that specify information about a routine. You can use constants to specify the desired routine flags. Currently, only 5 of the 16 bits in a routine flags word are defined. You should set all the other bits to 0.


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