Sensoray 2224 Windows User Manual
Page 65
Returns
0 on success, negative value if error (see mid2226types.h for error codes list).
MID2226_API int S2226_GetSDKVersions(
unsigned int num,
unsigned int *ver,
HANDLE hdev
);
Retrieves version for SDK software. Useful for debugging Windows installation issues. See demo
app for example usage.
Parameters
num
number of version to receive
ver
array of versions (driver core version[0], driver proxy version[1], dll version[2] )
hdev
handle to device (obtained from S2226_OpenBoard).
Returns
0 on success, negative value if error (see mid2226types.h for error codes list).
MID2226_API int S2226_GetSN(
SN2226 *sn,
HANDLE hdev
);
Retrieves device serial number.
Parameters
sn
device serial number structure
hdev
handle to device (obtained from S2226_OpenBoard).
Returns
0 on success, negative value if error (see mid2226types.h for error codes list).
MID2226_API int S2226_SetOutput(
65