Appendix A
Gang Writer Dynamic Link Library
28
Seiko Epson Corporation
S5U1C17001Y23 Multi-Programmer
System Manual (Rev. 1.1)
A.2 Function Details
A.2.1 OpenIcdConnection
•
Function
Opens the USB communication port and establishes communication with the ICDmini.
Control is not returned until this function either succeeds or fails.
•
Format
long OpenIcdConnection (long IcdDeviceNumber);
•
Argument
IcdDeviceNumber: ICDmini ID number (0 to 999)
•
Return values
OK
ERROR_PARAMETER
ERROR_ICD_OPEN_CONNECTION
A.2.2 CloseIcdConnection
•
Function
Corresponds to OpenIcdConnection, and closes communication with the ICDmini.
Control is not returned until this function either succeeds or fails.
•
Format
long CloseIcdConnection (long IcdDeviceNumber);
•
Argument
IcdDeviceNumber: ICDmini ID number (0 to 999)
•
Return values
OK
ERROR_PARAMETER
ERROR_ICD_CLOSE_CONNECTION