#include <dcvclt.h>
DCLONG dc_clt_open_notification_s(HWND hWnd,
DCCLT_ID *ntfid,
char *defpath,
unsigned short port,
DCLONG flags)
#include <dcvclt.h>
DCLONG dc_clt_open_notification(unsigned short port,
DCLONG flags)
#include <dcvclt.h>
DCLONG dc_clt_open_notification_s(HWND hWnd,
DCCLT_ID CLTFAR *ntfid,
char CLTFAR *defpath,
unsigned short port,
DCLONG flags)
#include <dcvclt.h>
DCLONG dc_clt_open_notification(unsigned short port,
DCLONG flags)
サーバからの一方通知受信機能を使用するための環境を作成します。
この関数は,dc_clt_close_notification_s関数と対で発行します。
リターン値 | 数値 (10進数) | 意味 |
---|---|---|
DC_OK | 0 | 正常終了しました。 |
DCCLTER_INVALID_ARGS | -2501 | 引数に指定した値が誤っています。 |
DCCLTER_PROTO | -2502 | dc_clt_open_notification関数がすでに実行されています。dc_clt_open_notification_s関数実行時は,このリターン値は返りません。 |
DCCLTER_FATAL | -2503 | 初期化に失敗しました。または,クライアント環境定義の指定に誤りがあります。 |
DCCLTER_NO_BUFS | -2504 | 必要なバッファが確保できませんでした。 |
DCCLTER_PORT_IN_USE | -2547 | 指定したポート番号は使用されています。 |