For Visual C++ applications, these values are pre-declared in the header file (FTChipID.h). For other languages, these definitions will have to be converted to use equivalent types and may have to be defined in an include file or within the body of the code.
DWORD Unsigned long (4 bytes)
LPDWORD Long pointer to a DWORD value
BOOL Boolean value (4 bytes)
LPSTR Long pointer to a NULL terminated string
FTID_STATUS (DWORD)
FTID_SUCCESS = 0
FTID_INVALID_HANDLE = 1
FTID_DEVICE_NOT_FOUND = 2
FTID_DEVICE_NOT_OPENED = 3
FTID_IO_ERROR = 4
FTID_INSUFFICIENT_RESOURCES = 5
FTID_BUFFER_SIZE_TOO_SMALL = 20
FTID_PASSED_NULL_POINTER = 21
FTID_INVALID_LANGUAGE_CODE = 22
FTID_INVALID_RHANDLE = 23
FTID_INVALID_STATUS_CODE = 0xFFFFFFFF