Appendix A
Gang Writer Dynamic Link Library
S5U1C17001Y23 Multi-Programmer
Seiko Epson Corporation
33
System Manual (Rev. 1.1)
A.2.8 GetConnectedICD
•
Function
Returns the lists of the serial numbers and the corresponding ID numbers of the ICDminis connected to the PC.
When NULL is specified to the IcdSerialNumberList, this function returns the necessary number of buffers.
Control is not returned until this function succeeds or fails.
•
Format
long GetConnectedICD ( short* IcdSerialNumberList, long* IcdSerialNumberBufferCount,
long* IDNumber, long* IDNumerBufferCount, char* FlsComment,
long* FlsCommentBufferCount, char* UserComment,
long* UserCommentBufferCount, long* TakenCount, long* ConnectedCount );
•
Arguments
When the function is called with IcdSerialNumberList set to NULL
short* IcdSerialNumberList:
NULL
long* IcdSerialNumberBufferCount: Returns the number of buffers for the serial number list that must be
allocated by the caller.
long* IDNumber:
Ignored
long* IDNumberBufferCount:
Returns the number of buffers for the ID number list that must be
allocated by the caller.
char* FlsComment:
Ignored
long* FlsCommentBufferCount:
Returns the number of buffers for FLS program comments that must
be allocated by the caller.
char* UserComment:
Ignored
long* UserCommentBufferCount:
Returns the number of buffers for the user program comments that
must be allocated by the caller.
long* TakenCount:
Returns the maximum number of serial numbers that can be acquired.
long* ConnecttedCount:
Returns the number of ICDminis currently connected via USB.
When the function is called with IcdSerialNumberList set to other than NULL
short* IcdSerialNumberList:
Buffer address for the serial number list.
The serial numbers are stored separated by a delimiter 0x0000
(Unicode).
long* IcdSerialNumberBufferCount: Number of buffers for the serial number list.
long* IDNumber:
Buffer address for the ID number list.
The ID numbers are stored in IDNumber corresponding to the serial
number list. If an ID number cannot be acquired, -1 is stored in the
buffer for that ICDmini.
long* IDNumberBufferCount:
Number of buffers for the ID number list.
char* FlsComment:
Buffer address for FLS program comments.
long* FlsCommentBufferCount:
Number of buffers for FLS program comments.
char* UserComment:
Buffer address for the user program comments. Comments are stored
in UserComment separated by a delimiter 0x00. However, if the
retrieved data is terminated with 0x00, DLL does not add 0x00.
long* UserCommentBufferCount:
Number of buffers for the user program comments.
long* TakenCount:
Returns the number of the serial numbers that have been stored in the
buffer.
long* ConnecttedCount:
Returns the number of ICDminis currently connected via USB.
Summary of Contents for S5U1C17000Y23
Page 4: ......