This method retrieves the current data from the device.
HRESULT IVIO_Device::GetData ( LPVARIANT pData, DWORD dwTimeOut );
One of the values described in the following table is returned.
Value |
Description |
S_OK | Successfully retrieved data from the device. |
E_NOTIMPL | This device does not implement data reads. |
E_POINTER | The pData pointer is invalid. |
E_ACCESSDENIED | Access to this device is denied. |
E_UNEXPECTED | An unexpected error occurred reading data from the device. |
For more information about the GetData method, see “CLSIDs for the Auto PC.”