Chapter 2 API Function Specifications
2-2-1 USB Device Control
1)OpenByIndex
Opens HL-C2 by a device No.
HLC2_STATUS HLC2_OpenByIndex(DWORD dwIndex,
Argument
DWORD dwIndex
2
HLC2_HANDLE *hlc2Handle
Return value
Returns HLC2_OK if normal end.
Summary
Loads a device handle by using an index of acquired device connection
number.
2)GetCount
Acquires connection number of HL-C2.
HLC2_STATUS HLC2_GetCount(LPDWORD lpCount)
Argument
LPDWORD lpCount
Return value
Returns HLC2_OK if normal end.
3)Init
Initializes specified device.
HLC2_STATUS HLC2_Init(HLC2_HANDLE hlc2Handle);
Argument
HLC2_HANDLE hlc2Handle
Return value
Returns HLC2_OK if normal end.
HLC2_HANDLE *hlc2Handle)
Index of device connection number
(Select among 0 to device connection
number -1)
Handle storing variable pointer
Variable pointer for storing connection
number of HL-C2 device
Handle
2-14