OpenTP1 Version 7 Programming Reference C Language

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

dc_log_notify_close - Terminate message log reception

Format

ANSI C, C++

#include <dclog.h>
DCLONG    dc_log_notify_close (DCLONG flags)

K&R C

#include <dclog.h>
DCLONG    dc_log_notify_close (flags)
DCLONG     flags;

Description

The function dc_log_notify_close() terminates reception of the message logs reported by OpenTP1. Calling the function dc_log_notify_open() again restarts message log reception.

Argument whose value is set in the UAP

flags

Specify DCNOFLAGS.

Return values

Return value Return value (numeric) Meaning
DC_OK 0 Normal termination.
DCLOGER_PARAM_ARGS -1900 An incorrect value is specified as the argument.
DCLOGER_PROTO -1999 The function dc_log_notify_open() is not called.