Image | Audio | Video |
---|---|---|
X |
Allocates space for a DBvIOType structure and opens the video handle for pixel access. The structure points to the first frame number (frame 0). The video can be a BLOB. The video is copied to the temporary file in a directory specified by the DB2VIDEOTEMP environment variable. The isIdx flag is set based on the existence of the random access index.
Authorization
Select
Library file
OS/2 and Windows | AIX, HP-UX, and Solaris |
---|---|
dmbshot.lib | libdmbshot.a (AIX) |
| libdmbshot.sl (HP-UX) |
| libdmbshot.so (Solaris) |
Include file
dmbshot.h
Syntax
long DBvOpenHandle( DBvIOType **video, DB2Video *videoHandle SQLHDBC hdbc );
Parameters
Error codes
Examples
Open the videoHandle using the videoa pointer:
#include <dmbshot.h> rc = DBvOpenHandle(&oa, videoHandle, hdbc);