beautypg.com

Sensoray 2224 Windows User Manual

Page 42

background image

Returns

0 on success, negative value if error (see mid2226types.h for error codes list).

MID2226_API int S2226_StartDecode(

char *fileName,

MID2226_DECODE_TYPE decode_type,

HANDLE hdev

);

Starts decoding a file stream on the 2226 hardware. Output will not be on host or PC. Output will
be from physical 2226 hardware connectors. If the stream (decode_type) is HD (720p or 1080i),
there will be no valid output from the composite outputs on the 2226. The 2226 is not full duplex
so S2226_StartDecode may not be called while recording or performing callback streaming.

Parameters

fileName

full path to the target file, no extension.

decode_type

decode type. See mid2226types.h.

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

wchar_t *fileName,

HANDLE hdev

);

Same as S2226_StartDecode, but uses widechar or Unicode filenames.

MID2226_API int S2226_StartDecodeMem(

MID2226_DECODE_TYPE decode_type,

HANDLE hdev

);

42

This manual is related to the following products: