Document Title Here
AET65 API
Version 1.0
idvation GmbH
Otto-Hesse-Straße 19 / T5
Phone +49 6151 9926567
D-64293 Darmstadt
Fax +49 6151 3689296
www.idvation.com
Title Here
Page 12 of 84
3.2.4.
ABSOpen
ABS_STATUS ABSOpen(
IN const ABS_CHAR *pszDsn
OUT ABS_CONNECTION *phConnection
)
Description
Open a new session with a FM connected to this host.
Parameters
pszDsn
Zero-terminated ASCII string describing the FM connection
parameters.
phConnection
Resulting connection handle. At the end of the connection it should
be closed with ABSClose.
Return Value
ABS_STATUS
Result code. ABS_STATUS_OK (0) means
success.
Remarks
To close the connection you should call ABSClose.
To open a connection through USB, no extra parameters are
necessary.
Example:
DSN = "usb"
"device=X" (for USB only) This option can be used for opening
specified device if more than one are simultaneously attached to the
system. X is the device name string identifying unambiguously
required device and it can be obtained from call of function
ABSEnumerateDevices (actually ABSEnumerateDevices will give
whole DSN string). Note that X is dependent on host current system
configuration.
Example:
DSN
=
"usb,device=\\?\usb#vid_0483&pid_2016#5&20890ddc&0
&1#
{d5620e51-8478-44bd-867e-aac02f883a00}"