FTC_STATUS
|
SPI_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 SPI_GetDeviceNameLocID.
Example
FTC_STATUS Status = FTC_SUCCESS;
DWORD dwNumDevices = 0;
Status = SPI_GetNumDevices(&dwNumDevices);