uEye Camera Manual Version 4.92
![]() |
![]() |
USB 2.0 USB 3.0 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.
![]() |
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
Suggestion for improvement? Send us your short
Feedback on this chapter.
Thank you very much!
For technical questions please contact your local distributor or use the support form on our website.