Group: Network Management - Library: netapi32
Deletes a message alias in the message name table. The function requires that the messenger service be started.
Using the NetMessageBufferSend to send messages on the network
NET_API_STATUS NetMessageNameDel(
LPCWSTR servername,
LPCWSTR msgname
);
DECLARE INTEGER NetMessageNameDel IN netapi32;
STRING servername,;
STRING msgname
servername [in] Pointer to a constant string that specifies the DNS or NetBIOS name of the remote server on which the function is to execute. If this parameter is NULL, the local computer is used.
msgname [in] Pointer to a constant string that specifies the message alias to delete. The string cannot be more than 15 characters long.
If the function succeeds, the return value is NERR_Success (0).
See also: NetMessageNameEnum, NetMessageNameAdd.