© 2013 Thorlabs GmbH364
DCx Cameras
4.4.7 isavi_GetAVIFileName
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.
Note
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
Instance ID set by the isavi_InitAVI() function.
Pointer to the memory location where the filename is written to. The allocated
memory must be large enough to accommodate the full file path.
When NULL is passed the function returns the length of the filename.
Return values
Function executed successfully.
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()
371
371
372 365
369
362
366
371