|
DS_STATUS
|
DS1M12_IsDeviceProgrammed
|
(DS_HANDLE dsHandle, LPBOOL lpbProgramState)
|
Parameters
|
dsHandle
|
Handle of a DS1M12.
|
|
lpbProgramState
|
Pointer to a variable of type BOOLEAN which returns the program state of the DS1M12. Device programmed (TRUE), device not programmed (FALSE).
|
Return Value
Returns DS_SUCCESS if successful, otherwise the return value will be one of the following error codes:
DS_INVALID_HANDLE
DS_DEVICE_NOT_FOUND
DS_DEVICE_PROGRAM_CHANNEL_IN_USE
DS_FAILED_TO_SYNCHRONIZE_DEVICE_MPSSE
DS_FAILED_TO_COMPLETE_COMMAND
DS_IO_ERROR