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
true
if the device is active,false
if it is inactive.- function result
- A result code.
DESCRIPTION
You pass the ISpDevice_IsActive function a reference to a device in theinDevice
parameter and it returns, in theoutIsActive
parameter,true
if the device is active orfalse
if it is inactive.