Carbon


Routine Selector Flags

Header: MixedMode.h

enum {
    kPassSelector = 0,
    kDontPassSelector = 8
};

Constant descriptions

kPassSelector

Pass the routine selector to the target routine as a parameter.

kDontPassSelector

Do not pass the routine selector to the target routine as a parameter. You should not use this flag for 680x0 routines.

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.

In general, you should use the constant kPassSelector. The constant kDontPassSelector is reserved for use with selector-based system software routines.


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