|
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 |
| UInt16 | Reserved [24] |
The parameter block definition for all other ATA Manager functions.
| ATACallbackUPP ataGeneric::ataPBCallbackPtr |
Reserved
| Ptr ataGeneric::ataPBClientPtr1 |
-->: Transaction timeout value in msec
| Ptr ataGeneric::ataPBClientPtr2 |
Client's storage Ptr 1
| UInt32 ataGeneric::ataPBDeviceID |
Reserved
| UInt16 ataGeneric::ataPBFlags |
-->: I/O Timing Class
| UInt8 ataGeneric::ataPBFunctionCode |
<–: Returned result
| UInt8 ataGeneric::ataPBIOSpeed |
-->: Manager Function Code
| ataPBHeader* ataGeneric::ataPBLink |
Start of cloned common header ataPBHdr
| UInt16 ataGeneric::ataPBQType |
a pointer to the next entry in the queue
| UInt8 ataGeneric::ataPBReserved |
-->: parameter block version number; Must be 0x01
| Ptr ataGeneric::ataPBReserved2 |
Reserved
| SInt16 ataGeneric::ataPBReserved3 |
-->: Various control options
| SInt32 ataGeneric::ataPBReserved4 |
Used internally by the manager
| OSErr ataGeneric::ataPBResult |
-->: Completion Routine Pointer
| UInt16 ataGeneric::ataPBSemaphores |
Reserved for Manager; Initialize to 0
| UInt16 ataGeneric::ataPBState |
Client's storage Ptr 2
| UInt32 ataGeneric::ataPBTimeOut |
-->: Device identifier (see ataDeviceID)
| UInt8 ataGeneric::ataPBVers |
type byte for safety check
| UInt16 ataGeneric::Reserved[24] |
Reserved
End of cloned common header ataPBHdr