MESSAG32 (located in \TOOLKIT\SAMPLES\LANSERV\MESSAG32) is designed to send simple messages through the messenger service. You can send messages from the local machine or a remote server. You can send messages to specific users or a domain group, or broadcast to an entire LAN.
MESSAG32 uses Net32MessageBufferSend to send the message.