beautypg.com

Sensoray 2224 Windows User Manual

Page 61

background image

int freezetime,

int wait,

int qual,

int unused,

HANDLE hdev

);

Takes a snapshot and save to file in filename.

Parameters

filename

fully qualified file with path (without extension, extension will be added by the SDK).

filetype

file type to save. MID2226_FILE_JPEG and/or MID2226_FILE_BMP.

freezetime

time in milli-seconds to freeze the image( freezing is done on the video output channels of

the 2226).

wait

wait = 1 will wait if operations pending(board is busy), wait = 0 will return err code if board

busy.

unused

Unused. For future possible use. Value wil be ignore.

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

const wchar_t *filename,

int filetype,

int freezetime,

int wait,

int qual,

int unused,

61

This manual is related to the following products: