DRV_DeviceClose
INT32S DRV_DeviceClose ( PTR_T * DeviceHandle );
Purpose
Closes the
DeviceHandle specified device. After the operation of any function, such as DIO, AO and AI,
that relates to the device allocated resources, the user must call
the
DRV_DeviceClose to release the resources.
Parameters
| Name |
Direction |
Range |
Description |
| DeviceHandle |
input / output |
default |
The pointer retrieved from
the
DRV_DeviceOpen which specifies the target device. |
Return
| 1. 0 |
Successful. |
| 2.
other value |
Please reference
ErrorCodes. |