Carbon


Determining the Addressing Mode Attributes

Header: Gestalt.h

enum {
    gestaltAddressingModeAttr = 'addr',
    gestalt32BitAddressing = 0,
    gestalt32BitSysZone = 1,
    gestalt32BitCapable = 2
};

Constant descriptions

gestaltAddressingModeAttr

The Gestalt selector you pass to determine the addressing mode attributes that are present.

gestalt32BitAddressing

If true, the operating system is using 32-bit addressing mode.

gestalt32BitSysZone

If true, there is a 32-bit compatible system zone.

gestalt32BitCapable

If true, Machine is 32-bit capable.

Before calling any function dependent on memory, your application should pass the selector gestaltAddressingModeAttr to the Gestalt function to determine the addressing mode attributes that are present.


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