DECLARE INTEGER ftrScanOpenDevice IN ftrScanAPI.dll* should be no trouble with this one
DECLARE ftrScanCloseDevice IN ftrScanAPI.dll INTEGER ftrHandle* should be no trouble with this one
DECLARE INTEGER ftrScanSetDiodesStatus IN ftrScanAPI.dll INTEGER ftrHandle, INTEGER byGreenDiodeStatus, INTEGER byRedDiodeStatus* should be no trouble with this one
DECLARE INTEGER ftrScanGetDiodesStatus IN ftrScanAPI.dll INTEGER ftrHandle, INTEGER @ pbIsGreenDiodeOn, INTEGER @ pbIsRedDiodeOn* For pImageSize, pass to the ftrScanGetImageSize a string equal to REPLICATE(CHR(0), 12). 12 means 3 INTEGERs, 4 bytes each.
DECLARE INTEGER ftrScanGetImageSize IN ftrScanAPI.dll INTEGER ftrHandle, STRING @ pImageSize* Prior to calling ftrScanGetImage, you have to allocate pBuffer -- VFP string of a sufficient size returned by a call to ftrScanGetImageSize.
DECLARE INTEGER ftrScanGetImage IN ftrScanAPI.dll INTEGER ftrHandle, INTEGER nDose, STRING @ pBuffer