FTC_STATUS
|
I2C_GetNumDevices
|
(lpdwNumDevices)
|
Parameters
lpdwNumDevices
|
Pointer to a variable of type DWORD which receives the actual number of available FT2232C devices connected to a system
|
Return Value
FTC_SUCCESS if successful, otherwise the return value is one of the following FTC error codes:
FTC_IO_ERROR
Remarks
This function can be used to provide the maximum index for using with I2C_GetDeviceNameLocID.
Example
FTC_STATUS Status = FTC_SUCCESS;
DWORD dwNumDevices = 0;
Status = I2C_GetNumDevices(&dwNumDevices);