Carbon


gestaltHardwareAttr

Header: Gestalt.h

enum {
    gestaltHardwareAttr = 'hdwr',
    gestaltHasVIA1 = 0,
    gestaltHasVIA2 = 1,
    gestaltHasASC = 3,
    gestaltHasSCC = 4,
    gestaltHasSCSI = 7,
    gestaltHasSoftPowerOff = 19,
    gestaltHasSCSI961 = 21,
    gestaltHasSCSI962 = 22,
    gestaltHasUniversalROM = 24,
    gestaltHasEnhancedLtalk = 30
};

Constant descriptions

gestaltHardwareAttr

The selector you pass to the Gestalt function to determine low-level hardware configuration attributes.

Never infer the existence of certain hardware or software features from the responses that Gestalt returns when you pass it this selector.

gestaltHasVIA1
gestaltHasVIA2
gestaltHasASC
gestaltHasSCC

The gestaltHasSCC bit is normally returned as 0 on the Macintosh IIfx and Macintosh Quadra 900 computers, which have intelligent I/O processors that isolate the hardware and make direct access to the SCC impossible. However, if the user has used the Compatibility Switch control panel to enable compatibility mode, gestaltHasSCC is set.

gestaltHasSCSI

The gestaltHasSCSI bit means the machine is equipped with a SCSI implementation based on the 53C80 chip, which was introduced in the Macintosh Plus. This bit is 0 on computers with a different SCSI implementation.

gestaltHasSoftPowerOff
gestaltHasSCSI961

This bit is set if the machine has a SCSI implementation based on the 53C96 chip installed on an internal bus.

gestaltHasSCSI962

This bit is set if the machine has a SCSI implementation based on the 53C96 chip installed on an external bus.

gestaltHasUniversalROM
gestaltHasEnhancedLtalk


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