IBM Books

Image, Audio, and Video Extenders Administration and Programming

QbUncatalogImage


Image Audio Video
X    

Removes an image from a catalog. The image handle must be from the image column that is associated with the opened QBIC catalog. The image will be removed from the opened catalog. The corresponding row in the image attribute table indicates the image is not cataloged.

Authorization

Delete

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 QbUncatalogImage(
      QbCatalogHandle cHdl,
      char *imgHandle
      );

Parameters

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

imgHandle (in)
The handle of the image. You can retrieve this handle from the user table.

Error codes

qbicECIvalidHandle
The catalog handle is not valid.

qbicECImageNotFound
The image cannot be found or accessed.

qbicECCatalogRO
The catalog is read-only.

Examples

Remove the image identified by the handle Img_hdl from the catalog identified by the handle CatHdl:

#include <dmbqbapi.h>
 
rc=QbUncatalogImage(CatHdl, Img_hdl);


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