NWGetBroadcastMessage

Returns a message from the specified server

Local Servers:blocking
Remote Servers:blocking
NetWare Server:3.11, 3.12, 3.2, 4.x, 5.x, 6.x
Platform:NLM, Windows NT, Windows 95, Windows 98
Library:Cross-Platform NetWare Calls (CAL*.*)
Service:Message

Syntax

C

  #include <nwmsg.h> 
  or 
  #include <nwcalls.h> 
   
  NWCCODE N_API  NWGetBroadcastMessage  ( 
     NWCONN_HANDLE   conn,  
     pnstr8          message);
  

Delphi

  uses calwin32 
   
  Function NWGetBroadcastMessage 
    (conn : NWCONN_HANDLE; 
     message : pnstr8 
  ) : NWCCODE;
  

Parameters

conn
(IN) Specifies the NetWare server connection handle.
message
(OUT) Points to the message buffer where the message will be stored.

Return Values

These are common return values; see Return Values (Return Values for C) for more information.

0x0000

SUCCESSFUL

0x89FD

BAD_STATION_NUMBER

Remarks

Because some servers support 256-byte messages, the message buffer passed in should be large enough to contain messages of this size.

NCP Calls