OpenTP1 Version 7 TP1/Client User's Guide TP1/Client/W, TP1/Client/P

[Contents][Index][Back][Next]

4.7.4 dc_clt_close_notification_s - Terminate reception of one-way messages

Organization of this subsection
(1) Form
(2) Purpose
(3) Arguments set by UAPs
(4) Return values

(1) Form

(a) _s version of the function
 
#include <dcvclt.h>
DCLONG dc_clt_close_notification_s(DCCLT_ID ntfid, DCLONG 
flags)
 
(b) Non-_s version of the function
 
#include <dcvclt.h>
DCLONG dc_clt_close_notification(DCLONG flags)
 

(2) Purpose

The dc_clt_close_notification_s function deletes the 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.

(3) Arguments set by UAPs

(4) Return values

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_NO_BUFS -2504 A necessary amount of buffer could not be allocated.
DCCLTER_INVALID_NTFID -2544 The one-way message reception ID specified in ntfid differs from that received by the dc_clt_open_notification_s function.