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_GetAVIFileName (INT nAviID, char* strName)

Description

Using isavi_GetAVIFileName(), you can read out the filename of the current AVI file. This function is helpful if an AVI file was opened with the isavi_OpenAVI() function and a Null parameter was specified.

hint_info

The functions isavi_OpenAVI() and isavi_GetAVIFileName() do not support UNICODE strings. For this purpose you use the functions isavi_OpenAVIW() and isavi_GetAVIFileNameW().

If the AVI file was created using a UNICODE string, only the isavi_GetAVIFileNameW() function can return the right file string.

Input parameters

nAviID

Instance ID set by the isavi_InitAVI() function.

strName

Pointer to the memory location where the filename is written to. The allocated memory must be large enough to accommodate the full file path.

NULL

When NULL is passed the function returns the length of the filename.

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().

Related functions

isavi_GetAVISize()

isavi_OpenAVI()

© 2022 IDS Imaging Development Systems GmbH