Returns, Parameters – Sensoray 2246 User Manual

Page 41

Advertising
background image

Returns:

0 on success

MID2246_API int SN_DisplaySnapshotW (LPWSTR filename, int time, int board = 0)

Unicode version of SN_DisplaySnapshot() Displays the snapshot in the video window using
unicode for the filename.

Parameters:

filename Full filename plus path extension in unicode (Windows WideChar)
time Time to display snapshot, -1 is infinite
board ID if multiple boards installed.

Returns:

0 on success

MID2246_API int SN_StopDisplaySnapshot (int board = 0)

Stops displaying current snapshot in rendering window

Parameters:

board ID if multiple boards installed.

Returns:

0 on success

Function Documentation - General configuration functions

MID2246_API int SN_SetMute (BOOL bMute, int board = 0)

Mutes the audio on the host computer. Audio will still be recorded. Note: if currently
streaming(StartStream used), this function will stop the stream and restart it.

Parameters:

bMute whether to mute audio on PC
board ID if multiple boards installed.

Returns:

0 on success

MID2246_API int SN_GetMute (BOOL * bMute, int board = 0)

Gets the mute setting

Parameters:

bMute pointer to retrieved mute setting
board ID if multiple boards installed.

Returns:

0 on success

41

Advertising