|
Mac OS 9
|
#include <ATA.h>
Data Fields | |
| ataPBHeader * | ataPBLink |
| UInt16 | ataPBQType |
| UInt8 | ataPBVers |
| UInt8 | ataPBReserved |
| Ptr | ataPBReserved2 |
| ATACallbackUPP | 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 |
| SInt16 | ataIconType |
| SInt16 | ataIconReserved |
| SInt8 * | ataLocationIconPtr |
| SInt8 * | ataLocationStringPtr |
| UInt16 | Reserved1 [18] |
Manager parameter block structure
| SInt16 ataLocationData::ataIconReserved |
-->: icon type specifier 1 = Large B&W icon with mask (256 bytes) 0x81 = Same as 1, but ProDOS icon
| SInt16 ataLocationData::ataIconType |
Reserved
End of cloned common header ataPBHdr
| SInt8* ataLocationData::ataLocationIconPtr |
Reserved to be longword aligned
| SInt8* ataLocationData::ataLocationStringPtr |
-->: Icon Data buffer pointer
| ATACallbackUPP ataLocationData::ataPBCallbackPtr |
Reserved
| Ptr ataLocationData::ataPBClientPtr1 |
-->: Transaction timeout value in msec
| Ptr ataLocationData::ataPBClientPtr2 |
Client's storage Ptr 1
| UInt32 ataLocationData::ataPBDeviceID |
Reserved
| UInt16 ataLocationData::ataPBFlags |
-->: I/O Timing Class
| UInt8 ataLocationData::ataPBFunctionCode |
<–: Returned result
| UInt8 ataLocationData::ataPBIOSpeed |
-->: Manager Function Code
| ataPBHeader* ataLocationData::ataPBLink |
Start of cloned common header ataPBHdr
| UInt16 ataLocationData::ataPBQType |
a pointer to the next entry in the queue
| UInt8 ataLocationData::ataPBReserved |
-->: parameter block version number; Must be 0x01
| Ptr ataLocationData::ataPBReserved2 |
Reserved
| SInt16 ataLocationData::ataPBReserved3 |
-->: Various control options
| SInt32 ataLocationData::ataPBReserved4 |
Used internally by the manager
| OSErr ataLocationData::ataPBResult |
-->: Completion Routine Pointer
| UInt16 ataLocationData::ataPBSemaphores |
Reserved for Manager; Initialize to 0
| UInt16 ataLocationData::ataPBState |
Client's storage Ptr 2
| UInt32 ataLocationData::ataPBTimeOut |
-->: Device identifier (see ataDeviceID)
| UInt8 ataLocationData::ataPBVers |
type byte for safety check
| UInt16 ataLocationData::Reserved1[18] |
-->: Icon String buffer pointer