GetAVILength()
Summary
Returns the number of frames in an avi file.
Syntax
frames = GetAVILength(string file_name)
| Argument | Contents |
|---|---|
| file_name | The name of the avi file |
Returns
The number of frames as an integer.
Example
frames = GetAVILength("mozart.avi")
Error Codes
| Error Type | Meaning |
|---|---|
| Error | The file could not be found or is an invalid AVI file |
See Also
| Function | Summary |
|---|---|
| GetWAVLength() | Returns the length of the WAV file in seconds |
| PlaySlideShow() | Plays a multimedia slideshow |