beautypg.com

S2253_startpreview, S2253_enablesnapshot – Sensoray 2253 Windows User Manual

Page 17

background image

const void

*fileName,

BOOL

bUnicode,

int

devid,

int

strmidx);

Starts recording to a file.
fileName

full path to the target file, no extension.

bUnicode

TRUE if filename is unicode.

devid

device id in the system (use 0 with a single board installed).

strmidx

stream index (0 or 1).

S2253_StartPreview

MID2253_API int __stdcall S2253_StartPreview (

int

devid,

int

strmidx);

Starts video stream and displays video in a pop-up window.
devid

device id in the system (use 0 with a single board installed).

strmidx

stream index (0 or 1).

S2253_EnableSnapshot

MID2253_API int __stdcall S2253_EnableSnapshot (

BOOL

bOn,

int

devid,

int

strmidx);

Enables or disables snapshots (using S2253_GetSample) for preview or record

streams. Disabling snapshots decreases CPU usage. Snapshots are enabled by
default.
bOn

TRUE - enables S2253_GetSample function, FALSE - disables it.

devid

device id in the system (use 0 with a single board installed).

17

This manual is related to the following products: