© 2016 Thorlabs Scientific Imaging
4 Programming (SDK)
401
4.4.8 isavi_GetAVIFileNameW
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
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 as UNICODE string.
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_OpenAVIW()