User Manual

Driver information6
Copyright © 2010-2011 Pico Technology Ltd. All rights reserved.usbpt104pg.en
2.5
UsbPt104GetUnitInfo
PICO_STATUS UsbPt104GetUnitInfo (
short handle,
char * string,
short stringLength,
short * requiredSize,
PICO_INFO info
)
This routine obtains information on a specified device.
Arguments:
handle, identifies the device whose information is required
string, output: the information requested
stringLength, input: the length of the string buffer
requiredSize, output: the length of the information string
requested. If this is longer than stringLength then only the first
stringLength characters of the requested information are written to
string.
info, the type of information required. The following types are
defined in picoStatus.h:
PICO_DRIVER_VERSION
PICO_USB_VERSION
PICO_HARDWARE_VERSION
PICO_VARIANT_INFO
PICO_BATCH_AND_SERIAL
PICO_CAL_DATE
PICO_KERNEL_DRIVER_VERSION
Returns:
defined in picoStatus.h