//----------------------------------------------------------------------- // // Copyright © 2012 Nils Hammar and Future Technology Devices International Limited. All rights reserved. // //----------------------------------------------------------------------- namespace FtdiApi.Constants { /// /// Constants for other error states internal to this class library /// internal enum FT_ERROR { /// /// No error. /// FT_NO_ERROR = 0, /// /// Invalid device. /// FT_INCORRECT_DEVICE, /// /// Invalid bit mode. /// FT_INVALID_BITMODE, /// /// Invalid buffer size. /// FT_BUFFER_SIZE, /// /// DLL was not found. /// FT_DLL_NOT_FOUND, /// /// Function was not found in DLL. /// FT_FUNCTION_NOT_FOUND, /// /// Channel not open. /// /// A call was made to 'Read' without the device being opened. /// /// FT_CHANNEL_NOT_OPEN, } }