Platform SDK: Network Management |
The network management message functions send messages and maintain message aliases. The message functions are listed following.
Function | Description |
---|---|
NetMessageBufferSend | Sends a message to a registered message alias. |
NetMessageNameAdd | Registers a message alias in the message name table. |
NetMessageNameDel | Deletes a message alias from the message name table. |
NetMessageNameEnum | Lists all the message aliases stored in the message name table. |
NetMessageNameGetInfo | Returns information about a particular message alias in the message name table. |
A message is a buffer of text data sent to a user or application on the network. To receive a message, a user or application must register a message alias in a computer's table of message names. This can be done by calling the NetMessageNameAdd function. A message name table contains a list of registered message aliases (users and applications) permitted to receive messages. The aliases registered in the message name table are case insensitive.
The messenger service must be running on the receiving computer to display a pop-up message when the message is received. In addition, the Workstation service must be running on the local computer. Netbios is the transport mechanism used between the sender and receiver.
Message functions are available at two information levels:
MSG_INFO_1 exists only for compatibility. The messenger service does not forward names or allow names to be forwarded to it.