Skip to content

Latest commit

 

History

History
53 lines (35 loc) · 1.32 KB

NetMessageNameDel.md

File metadata and controls

53 lines (35 loc) · 1.32 KB

Home

Function name : NetMessageNameDel

Group: Network Management - Library: netapi32


Deletes a message alias in the message name table. The function requires that the messenger service be started.


Code examples:

Using the NetMessageBufferSend to send messages on the network

Declaration:

NET_API_STATUS NetMessageNameDel(
	LPCWSTR servername,
	LPCWSTR msgname
);  

FoxPro declaration:

DECLARE INTEGER NetMessageNameDel IN netapi32;
	STRING servername,;
	STRING msgname
  

Parameters:

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.


Return value:

If the function succeeds, the return value is NERR_Success (0).


Comments:

See also: NetMessageNameEnum, NetMessageNameAdd.