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