ISpDevice_IsActive
You can use the ISpDevice_IsActive function to find out if a device is active.
OSStatus ISpDevice_IsActive ( ISpDeviceReference inDevice, Boolean *outIsActive);
inDevice- A reference to a device.
outIsActive- This value is
trueif the device is active,falseif it is inactive.- function result
- A result code.
DESCRIPTION
You pass the ISpDevice_IsActive function a reference to a device in theinDeviceparameter and it returns, in theoutIsActiveparameter,trueif the device is active orfalseif it is inactive.