|
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 |
| UInt32 | busID |
| RegEntryIDPtr | ataNameRegEntry |
Parameter block structure for adding an ATA bus; ATA Manager 4 and above.
| RegEntryIDPtr ataRemoveATABus::ataNameRegEntry |
-->: Reserved. Must set to 0.
| ProcPtr ataRemoveATABus::ataPBCallbackPtr |
Reserved
| Ptr ataRemoveATABus::ataPBClientPtr1 |
-->: Transaction timeout value in msec
| Ptr ataRemoveATABus::ataPBClientPtr2 |
Client's storage Ptr 1
| UInt32 ataRemoveATABus::ataPBDeviceID |
Reserved
| UInt16 ataRemoveATABus::ataPBFlags |
-->: I/O Timing Class
| UInt8 ataRemoveATABus::ataPBFunctionCode |
<–: Returned result
| UInt8 ataRemoveATABus::ataPBIOSpeed |
-->: Manager Function Code
| ataPBHeader* ataRemoveATABus::ataPBLink |
Start of cloned common header ataPBHdr
| UInt16 ataRemoveATABus::ataPBQType |
a pointer to the next entry in the queue
| UInt8 ataRemoveATABus::ataPBReserved |
-->: parameter block version number; Must be 0x01
| Ptr ataRemoveATABus::ataPBReserved2 |
Reserved
| SInt16 ataRemoveATABus::ataPBReserved3 |
-->: Various control options
| SInt32 ataRemoveATABus::ataPBReserved4 |
Used internally by the manager
| OSErr ataRemoveATABus::ataPBResult |
-->: Completion Routine Pointer
| UInt16 ataRemoveATABus::ataPBSemaphores |
Reserved for Manager; Initialize to 0
| UInt16 ataRemoveATABus::ataPBState |
Client's storage Ptr 2
| UInt32 ataRemoveATABus::ataPBTimeOut |
-->: Device identifier
| UInt8 ataRemoveATABus::ataPBVers |
type byte for safety check
| UInt32 ataRemoveATABus::busID |
Reserved
End of cloned common header ataPBHdr