The NetMessageNameAdd function registers a message alias in the message name table. This function requires that the Messenger service be started.
Only members of the Administrators local group can successfully execute NetMessageNameAdd on a remote server.
NET_API_STATUS NetMessageNameAdd(
LPTSTR servername, | |
LPTSTR msgname | |
); |
If the function returns account information, the return value is NERR_Success.
If the function fails, the return value is one of the following error codes.
Value |
Meaning |
ERROR_INVALID_PARAMETER |
The specified parameter is invalid. |
NERR_AlreadyExists |
The message alias already exists on this computer. |
NERR_DuplicateName |
The name specified is already in use as a message alias on the network. |
NERR_NetworkError |
A general failure occurred in the network hardware. |
NERR_TooManyNames |
The maximum number of message aliases has been exceeded. |
The forward action flag from the LAN Manager 2.x NetMessageNameAdd function is no longer a parameter because message forwarding is no longer supported. If the NetMessageNameAdd function detects that a forwarded version of msgname exists on the network, the function will fail with error NERR_Already_Exists.
file: /Techref/os/win/api/win32/func/src/f61_6.htm, 3KB, , updated: 2000/4/7 12:19, local time: 2024/9/2 22:24,
18.226.200.228:LOG IN
|
©2024 These pages are served without commercial sponsorship. (No popup ads, etc...).Bandwidth abuse increases hosting cost forcing sponsorship or shutdown. This server aggressively defends against automated copying for any reason including offline viewing, duplication, etc... Please respect this requirement and DO NOT RIP THIS SITE. Questions? <A HREF="http://piclist.com/techref/os/win/api/win32/func/src/f61_6.htm"> NetMessageNameAdd</A> |
Did you find what you needed? |
![]() o List host: MIT, Site host massmind.org, Top posters @none found - Page Editors: James Newton, David Cary, and YOU! * Roman Black of Black Robotics donates from sales of Linistep stepper controller kits. * Ashley Roll of Digital Nemesis donates from sales of RCL-1 RS232 to TTL converters. * Monthly Subscribers: Gregg Rew. on-going support is MOST appreciated! * Contributors: Richard Seriani, Sr. |
Welcome to piclist.com! |
.