Please enable JavaScript to view this site.

IDS Software Suite 4.96.1

Windows_Logo
Linux_Logo

USB 2.0

USB 3.x

GigE

-

Syntax

INT isavi_OpenAVIW (INT nAviID, const wchar_t* strFileName)

Description

isavi_OpenAVIW() opens a new or existing AVI file.

Input parameters

nAviID

Instance ID set by the isavi_InitAVI() function.

pFileName

Pointer to the name to be assigned to the AVI file. The file name is passed as UNICODE string. If NULL is passed, the "Open File" dialog is displayed.

Return values

IS_AVI_NO_ERR

No error, function executed successfully.

IS_AVI_ERR_INVALID_ID

The indicated AVI instance could not be found. Either the AVI ID is invalid or the instance has already been deleted using isavi_ExitAVI().

IS_AVI_ERR_CAPTURE_RUNNING

Another capturing operation is in progress or an AVI file is still open.

IS_AVI_ERR_INVALID_FILE

The file has no valid AVI format.

IS_AVI_ERR_NEW_FAILED

No memory could be allocated for the AVI file.

IS_AVI_ERR_CREATESTREAM

No AVI stream could be created.

Related functions

isavi_GetAVIFileNameW()

isavi_CloseAVI()

isavi_InitAVI()

isavi_ExitAVI()

© 2022 IDS Imaging Development Systems GmbH