OpenTP1 Version 7 TP1/Client User's Guide TP1/Client/W, TP1/Client/P
#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)
The dc_clt_open_notification_s function creates an environment for using the facility for receiving one-way messages from the server.
The dc_clt_open_notification_s and dc_clt_close_notification_s functions are used in a pair.
| Return value | Value (decimal) | Meaning |
|---|---|---|
| DC_OK | 0 | The function normally terminated. |
| DCCLTER_INVALID_ARGS | -2501 | The value specified in an argument is incorrect. |
| DCCLTER_PROTO | -2502 | The dc_clt_open_notification function has already been executed. This value is not returned if the dc_clt_open_notification_s function is executed. |
| DCCLTER_FATAL | -2503 | Initialization failed. Alternatively, the client environment definition is specified incorrectly. |
| DCCLTER_NO_BUFS | -2504 | A necessary amount of buffer could not be allocated. |
| DCCLTER_PORT_IN_USE | -2547 | The specified port number has already been used. |
All Rights Reserved. Copyright (C) 2006, 2009, Hitachi, Ltd.