PATH 
ADC Home > Documentation > Hardware > Device Managers and Drivers > PCI Card Services > Designing PCI Cards and Drivers for Power Macintosh Computers


  

GetIOCommandInfo

OSErr GetIOCommandInfo(
                     IOCommandID ID,
                     IOCommandContents *contents,
                     IOCommandCode *command,
                     IOCommandKind *kind);
ID
Command ID.
contents
Pointer to the I/O parameter block or Initialize/Finalize contents.
command
Command code.
kind
Command kind (synchronous, asynchronous, or immediate).
DESCRIPTION

GetIOCommandInfo returns information about the active native driver I/O command identified by ID. GetIOCommandInfo will not work after a driver has completed a request.

EXECUTION CONTEXT

GetIOCommandInfo may be called from task level or secondary interrupt level, but not from hardware interrupt level.

RESULT CODES
noErr 0 No error
paramErr -50 Bad parameter

© 1999 Apple Computer, Inc. – (Last Updated 26 March 99)