The NetMessageNameGetInfo function retrieves information about a particular message alias in the message name table. This function requires that the Messenger service be started.
Security Requirements
Only members of the Administrators local group can successfully execute NetMessageNameGetInfo on a remote server.
NET_API_STATUS NetMessageNameGetInfo(
LPTSTR servername, | |
LPTSTR msgname, | |
DWORD level, | |
LPBYTE *bufptr | |
); |
Parameters
servername
Pointer to a Unicode string containing the name of the remote server on which the function is to execute. A NULL pointer or string specifies the local computer.
msgname
Pointer to a Unicode string containing the message name on which to return information.
level
Specifies one of the following values to indicate the level of information provided.
Value | Meaning |
0 | The bufptr parameter points to an array of MSG_INFO_0 structures. |
1 | The bufptr parameter points to an array of MSG_INFO_1 structures. |
bufptr
Pointer to the buffer in which the data set with the level parameter is stored.
See Also