IBM Books

Image, Audio, and Video Extenders Administration and Programming

QbSetAutoCatalog


Image Audio Video
X    

Automatically catalogs images that are imported into an image column. The API adds an entry for each image to the feature table, and then analyzes the images. When the API analyzes the image, it creates image data and stores it in the image's entry in the feature table.

If you don't set auto-cataloging on, use the QbCatalogColumn or QbCatalogImage API to catalog images after you add them to the image column.

Authorization

Alter

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

libdmbqbapi.sl (HP-UX)

libdmbqbapi.so (Solaris)

Include file

dmbqbapi.h

Syntax

SQLRETURN QbSetAutoCatalog(
      QbCatalogHandle cHdl
      SQLINTEGER autoCatalog
      );

Parameters

cHdl (in)
A pointer to the handle of the catalog.

autoCatalog (in)
Indicates whether images added to the image column will be automatically added to the feature tables and analyzed. Specify 1 to set auto-cataloging on or 0 to set it off.

Error codes

qbicECIvalidHandle
The catalog handle is not valid.

Examples

Set auto-cataloging on for the catalog identified by the handle CatHdl:

#include <dmbqbapi.h>
 
rc=QbSetAutoCatalog(CatHdl, 1);


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