NWBroadcastToConsole
Sends a message to the default server’s system console
#include <nwmsg.h>
or
#include <nwcalls.h>
NWCCODE N_API NWBroadcastToConsole (
NWCONN_HANDLE conn,
const nstr8 N_FAR *message);
uses calwin32
Function NWBroadcastToConsole
(conn : NWCONN_HANDLE;
const message : pnstr8
) : NWCCODE;
These are common return values; see Return Values (Return Values for C) for more information.
Under NETX, if an invalid connection handle is passed to conn, NWBroadcastToConsole will return 0x0000. NETX will pick a default connection handle if the connection handle cannot be resolved.
The message is displayed in a single line on the console screen after the colon (:) prompt. Messages longer than 58 bytes are truncated without notifying the broadcasting workstation. New messages overwrite previous messages at the console.