Image | Audio | Video |
---|---|---|
X |
Returns a list of table entries in video columns that reference a specified file. The application must be connected to a database before calling this API.
It is important that you free up the resources allocated by this API after calling it. Specifically, you must free up the filelist data structure as well as the filename field in each entry in the filelist.
Authorization
SELECT privilege on enabled video columns in all searched user tables and associated administrative support tables
Library file
OS/2 and Windows | AIX, HP-UX, and Solaris |
---|---|
dmbvideo.lib | libdmbvideo.a (AIX) |
| libdmbvideo.sl (HP-UX) |
| libdmbvideo.so (Solaris) |
Include file
dmbvideo.h
Syntax
long DBvIsFileReferenced( char *tableName, char *fileName, long *count, FILEREF *(*tableList) );
Parameters
Error codes
Examples
List the entries in video columns of the employee table that reference file /videos/ajones.mpg:
#include <dmbvideo.h> long idx; rc = DBvIsFileReferenced(NULL, "/videos/ajones.mpg", &count, &tableList);