INT32S DRV_FDITransfer( PTR_T DriverHandle, PT_FDITransfer * lpFDITransfer);
When a specified event (input pattern match, status change, counter match or counter overflow) is signaled, this function is used in event handling routine to retrieve the DI port status.
This function is used in PCI-1760.
Some parameters, such as event type (usEventType) and acquired input data (ulRetData), are stored in the lpFDITransfer pointed structure PT_FDITransfer.
| Name | Direction | Range | Description |
| DriverHandle | input | default | The pointer retrieved from the DRV_DeviceOpen which specifies the target device. |
| lpFDITransfer | input / output | default | The pointer to indicate structure PT_FDITransfer that stores event type (INT16U usEventType) and acquired input data (INT32U * ulRetData). |
| 1. SUCCESS | Successful. |
| 2. InvalidDriverHandle | The DriverHandle is NULL. |