| Home > C: Programming > AVI function descriptions > | History back Previous chapter Next chapter Print |
isavi_OpenAVI |
|
uEye Camera Manual Version 4.00
|
|
USB 2.0 USB 3.0 GigE |
- |
Syntax
INT isavi_OpenAVI (INT nAviID, const char* strFileName)
Description
isavi_OpenAVI() opens a new or existing AVI file.
Input parameters
nAviID |
Instance ID set by the isavi_InitAVI() function. |
pFileName |
Pointer to the name to be assigned to the AVI file. If NULL is passed, the "Open File" dialog is displayed. |
Return values
IS_AVI_NO_ERR |
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(). |
IS_AVI_ERR_CAPTURE_RUNNING |
Another capturing operation is in progress or an AVI file is still open. |
IS_AVI_ERR_INVALID_FILE |
The file has no valid AVI format. |
IS_AVI_ERR_NEW_FAILED |
No memory could be allocated for the AVI file. |
IS_AVI_ERR_CREATESTREAM |
No AVI stream could be created. |
Related functions