Sensoray 2224 Windows User Manual

Page 22

Advertising
background image

Parameters

pStatus

pointer to status variable.

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_GetStatusW(

MID2226STATUS_W *pStatus,

HANDLE hdev

);

Same as S2226_GetStatus, but uses Unicode filenames.

MID2226_API int S2226_StartRecord(

char *fileName,

HANDLE hdev

);

Starts recording to a file.

Parameters

fileName

full path to the target file, no extension.

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_StartRecordW(

wchar_t *fileName,

HANDLE hdev

);

Same as S2226_StartRecord, but uses widechar or Unicode filenames.

22

Advertising
This manual is related to the following products: