Status
Status Send status information from the device driver to the system
#include <Devices.h> Device Manager
OSErr Status( refNum, csCode, csParamPtr );
short refNum ; driver reference as obtained from OpenDriver
short csCode ; value specifying information type
Ptr csParamPtr ; address of parameter block containing control code
returns Error Code; 0=no error
Status returns status information from an open device driver to the user.
refNum is the reference number of an open device driver. See
csCode is a short specifying the kind of status code contained in the
parameter block.
csParamPtr is the address of a csParam containing the control code.
Returns: an operating system Error Code. It will be one of:
noErr (0) No error
statusErr (-18) Driver can't respond to Call
badUnitErr (-21) refNum doesn't match unit table
unitEmptyErr (-22) refNum specifies NIL handle in unit table
notOpenErr (-28) Driver not open

Notes: The values passed in csCode and pointed at by the parameter pointer vary,
depending on which driver is being called.