IBM Books

Image, Audio, and Video Extenders Administration and Programming

DBvDeleteShot


Image Audio Video
    X

Deletes a shot from a catalog.

Authorization

Insert, Control

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

libdmbshot.sl (HP-UX)

libdmbshot.so (Solaris)

Include file

dmbshot.h

Syntax

long DBvDeleteShot(
      char *catalogName ,
      char *shotHandle,
      SQLHDBC hdbc
      );

Parameters

catalogName (in)
The name of the catalog.

shotHandle (in)
The shot handle.

hdbc (in)
The database handle from SQLConnect.

Error codes

MMDB_SUCCESS
API call processed successfully.

MMDB_RC_ACCESS
Caller does not have proper access authority.

MMDB_RC_NOT_CONNECTED
The application does not have valid connection to a database.

MMDB_RC_INVALID_CATALOG
The catalog is not valid or does not exist.

Examples

Delete a shot from the hotshots catalog, using the shot's handle:

#include <dmbshot.h>
 
rc = DBvDeleteShot("hotshots", shot,
       hdbc);


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