Sensoray 2224 Windows User Manual
Page 19

MID2226_API int S2226_GetInput(
MID2226_SOURCE *pSource,
HANDLE hdev
);
Retrieves current input settings.
Parameters
pSource
pointer to the value to receive the current input.
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_CheckInput(
MID2226_SOURCE *ilst,
HANDLE hdev
);
Retrieves current input settings.
Parameters
ilst
pointer to the value of current input status. Will be set to 1 if the current input is lost.
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_SetBitrate(
unsigned long bitrate,
HANDLE hdev
);
Retrieves current input settings.
19