Image, Audio, and Video Extenders Administration and Programming
Adds the specified feature to a QBIC Catalog.
Authorization
None.
Library file
OS/2 and Windows
| AIX, HP-UX, and Solaris
|
dmbqqry.lib
| libdmbqqry.a (AIX)
|
| libdmbqqry.sl (HP-UX)
|
| libdmbqqry.so (Solaris)
|
Include file
dmbqbapi.h
Syntax
SQLRETURN QbQueryAddFeature(
QbQueryHandle qObj,
char *featureName
);
Parameters
- qObj (in)
- The handle of the query object.
- featureName (in)
- The name of the query feature to be added. The following features
are supplied with the image extender:
- QbColorFeatureClass
- QbColorHistogramFeatureClass
- QbDrawFeatureClass
- QbTextureFeatureClass
Error codes
- qbiECinvalidQueryHandle
- The query objecthandle you specified does not reference a valid query
object.
- qbiECunknownFeatureClass
- The feature you specified is not a recognized feature class name.
- qbiECinvalidFeatureClass
- The feature you specified is not a valid name format.
- qbiECfeaturePresent
- The feature you specified is already a member of the query object.
- qbiECallocation
- The system cannot allocate enough memory.
Examples
Add the QbColorFeatureClass feature to the query object identified by the
qoHandle handle:
#include <dmbqbapi.h>
rc = QbQueryAddFeature(qoHandle,
"QbColorFeatureClass");
[ Top of Page | Previous Page | Next Page | Table of Contents | Index ]