Function - Return the current device status.
[in device send right]
A device port to the device to be interrogated.
The type of status information requested.
[out array of natural-sized units]
The returned device status.
[pointer to in/out scalar]
On input, the reserved size of status; on
output, the size of the returned device status (in natural-sized units).
The device_get_status function returns status information
pertaining to an open device. The possible values for flavor as well
as the meaning of the returned status information is device dependent.
Device has been shut down
No device with that name, or the device is not operational.
Out-of-band condition occurred on device (such as typing \*L-C\*O)