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_GetAVIFileNameW (INT nAviID, wchar_t* strName)

Description

Using isavi_GetAVIFileNameW(), you can read out the filename of the current AVI file as UNICODE string. This function is helpful if an AVI file was opened with the isavi_OpenAVIW() function and a NULL parameter was specified.

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 as UNICODE string.

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

© 2022 IDS Imaging Development Systems GmbH