IVIO_Device::get_Status

The method retrieves the current availability of the device such as READY or BUSY.

Syntax

HRESULT IVIO_Device::get_Status ( DWORD *pStatus );

Parameters

pStatus
[out] Pointer to a DWORD that returns one of the following status values:
VIODEVSTATUS_READY
The device is ready to run.
VIODEVSTATUS_BUSY
The device is busy.
VIODEVSTATUS_UNAVAIL
The device is unavailable.
VIODEVSTATUS_SUSPENDED
The device is suspended. In other words, it is in low power operation.

Return Values

One of the values described in the following table is returned.

Value
Description
S_OK Successfully retrieved the status of the device.
E_POINTER The pStatus pointer is invalid.
E_UNEXPECTED An unexpected error occurred while retrieving the status.