IBM Books

Image, Audio, and Video Extenders Administration and Programming

DBvIsIndex


Image Audio Video
    X

Checks for the existence of the video index. The application must be connected to a database before calling this API.

Authorization

None

Library file
OS/2 and Windows AIX, HP-UX, and Solaris
dmbmpeg.lib libdmbmpeg.a (AIX)

libdmbmpeg.sl (HP-UX)

libdmbmpeg.so (Solaris)

Include file

dmbshot.h

Syntax

long DBvIsIndex(
      char *fileName,
      short *status
      );

Parameters

fileName (in)
the name of the referenced file.

status (out)
Indicates whether the index exists. A value of 1 means the index exists; a value of 0 means the index does not exist.

Error codes

MMDB_SUCCESS
API call processed successfully.

MMDB_ERROR
The status is not valid.

Examples

Check the existence of an index for the video file \videos\ajones.mpg:

#include <dmbshot.h>
 
rc = DBvIsIndex("\videos\ajones.mpg", &status);


[ Top of Page | Previous Page | Next Page | Table of Contents | Index ]