|
Mac OS 9
|
#include <ATA.h>
Data Fields | |
| ataPBHeader * | ataPBLink |
| UInt16 | ataPBQType |
| UInt8 | ataPBVers |
| UInt8 | ataPBReserved |
| Ptr | ataPBReserved2 |
| ProcPtr | ataPBCallbackPtr |
| OSErr | ataPBResult |
| UInt8 | ataPBFunctionCode |
| UInt8 | ataPBIOSpeed |
| UInt16 | ataPBFlags |
| SInt16 | ataPBReserved3 |
| UInt32 | ataPBDeviceID |
| UInt32 | ataPBTimeOut |
| Ptr | ataPBClientPtr1 |
| Ptr | ataPBClientPtr2 |
| UInt16 | ataPBState |
| UInt16 | ataPBSemaphores |
| SInt32 | ataPBReserved4 |
| RegEntryIDPtr | ataNameRegEntry |
| CFragConnectionID | connID |
| UInt32 | busID |
| UInt8 | flags |
| UInt8 | socketType |
| Ptr | iconData |
| Ptr | stringData |
Parameter block structure for adding an ATA bus; ATA Manager 4 and above.
| RegEntryIDPtr ataAddATABus::ataNameRegEntry |
Reserved
End of cloned common header ataPBHdr
| ProcPtr ataAddATABus::ataPBCallbackPtr |
Reserved
| Ptr ataAddATABus::ataPBClientPtr1 |
-->: Transaction timeout value in msec
| Ptr ataAddATABus::ataPBClientPtr2 |
Client's storage Ptr 1
| UInt32 ataAddATABus::ataPBDeviceID |
Reserved
| UInt16 ataAddATABus::ataPBFlags |
-->: I/O Timing Class
| UInt8 ataAddATABus::ataPBFunctionCode |
<–: Returned result
| UInt8 ataAddATABus::ataPBIOSpeed |
-->: Manager Function Code
| ataPBHeader* ataAddATABus::ataPBLink |
Start of cloned common header ataPBHdr
| UInt16 ataAddATABus::ataPBQType |
a pointer to the next entry in the queue
| UInt8 ataAddATABus::ataPBReserved |
-->: parameter block version number; Must be 0x01
| Ptr ataAddATABus::ataPBReserved2 |
Reserved
| SInt16 ataAddATABus::ataPBReserved3 |
-->: Various control options
| SInt32 ataAddATABus::ataPBReserved4 |
Used internally by the manager
| OSErr ataAddATABus::ataPBResult |
-->: Completion Routine Pointer
| UInt16 ataAddATABus::ataPBSemaphores |
Reserved for Manager; Initialize to 0
| UInt16 ataAddATABus::ataPBState |
Client's storage Ptr 2
| UInt32 ataAddATABus::ataPBTimeOut |
-->: Device identifier
| UInt8 ataAddATABus::ataPBVers |
type byte for safety check
| UInt32 ataAddATABus::busID |
-->: Reserved. Must be set to zero.
| CFragConnectionID ataAddATABus::connID |
-->: Pointer to name registry data
| UInt8 ataAddATABus::flags |
<–: bus ID
| Ptr ataAddATABus::iconData |
-->: Socket type as defined in the enum
| UInt8 ataAddATABus::socketType |
-->: add bus flags
| Ptr ataAddATABus::stringData |
-->: Ptr to 256 bytes of icon data (nil is OK)