Image、Audio 及 Video Extenders 管理與程式設計

DBvSetShotComment


影像 音效 視訊
    X

更新快照中的唯讀註解。

授權

控制、更新

檔案庫
OS/2 與 Windows AIX、HP-UX 及 Solaris
dmbshot.lib libdmbshot.a (AIX)

libdmbshot.sl (HP-UX)

libdmbshot.so (Solaris)

併入檔

dmbshot.h

語法

long DBvSetShotComment(
      char *catalogName,
      char *shotHandle,
      char *comment,
      SQLHDBC hdbc
      );

參數

catalogName (in)
型錄的名稱。

shotHandle (in)
所要更新之快照的 handle。

comment (in)
快照的新註解。

hdbc (in)
取自 SQLConnect 中的資料庫 handle。

錯誤碼

MMDB_SUCCESS
API 呼叫程序執行成功。

MMDB_RC_NOT_CONNECTED
應用程式與資料庫之間無有效連接。

MMDB_RC_CANNOT_UPDATE
API 無法更新快照。

MMDB_RC_INVALID_CATALOG
型錄無效或不存在。

範例

變更型錄 hotshots 中用以說明快照 (其 handle 為 shotHandle) 的標註:

#include <dmbshot.h>
rc = DBvSetShotComment("hotshot", shotHandle,
       "This is a hot shot.", hdbc);


[ 頁面頂端 | 前一頁 | 下一頁 | 目錄 | 索引 ]