© 2013 Thorlabs GmbH372
DCx Cameras
4.4.15 isavi_OpenAVIW
Syntax
INT isavi_OpenAVIW (INT nAviID, const wchar_t* strFileName)
Description
isavi_OpenAVIW() opens a new or existing AVI file.
Input parameters
Instance ID set by the isavi_InitAVI() function.
Pointer to the name to be assigned to the AVI file. The file name is
passed as UNICODE string. If NULL is passed, the "Open File"
dialog is displayed.
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() .
IS_AVI_ERR_CAPTURE_RUNNING
Another capturing operation is in progress or an AVI file is
still open.
The file has no valid AVI format.
No memory could be allocated for the AVI file.
No AVI stream could be created.
Related functions
isavi_GetAVIFileNameW()
isavi_CloseAVI()
isavi_InitAVI()
isavi_ExitAVI()
369
362
365
360
369
362