 |
NetMessageBufferSend ..msdn Add comment W32 Constants Translate this page |
 |
 |
Sends a buffer of information to a registered message alias.
|
 |
 |
| Code examples: |
 |
|
|
 |
 |
| Declaration: |
 |
 |
NET_API_STATUS NetMessageBufferSend(
LPCWSTR servername,
LPCWSTR msgname,
LPCWSTR fromname,
LPBYTE buf,
DWORD buflen
);
|
 |
 |
 |
| FoxPro declaration: |
 |
 |
DECLARE INTEGER NetMessageBufferSend IN netapi32;
STRING servername,;
STRING msgname,;
STRING fromname,;
STRING @ buf,;
INTEGER buflen
|
 |
 |
 |
| 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 which the message buffer should be sent.
fromname
[in] Pointer to a constant string specifying who the message is from. If this parameter is NULL, the message is sent from the local computer name.
buf
[in] Pointer to a buffer that contains the message text.
buflen
[in] Specifies a value that contains the length, in bytes, of the message text pointed to by the buf parameter. |
 |
 |
| Return value: |
 |
| If the function succeeds, the return value is NERR_Success (0). |
 |
 |
| My comment: |
 |
Admin, Accounts, Print, or Server Operator group membership is required to successfully execute NetMessageBufferSend on a remote server.
Can be used as NET SEND replacement.
Note that this is Unicode function.
Not supported on Win9* systems.
See also: NetMessageNameEnum, NetMessageNameAdd, NetMessageNameDel. |
 |
 |
| Word Index links for the NetMessageBufferSend : |
 |
|
|
 |
 |
| Translate this page: |
 |
|
 |
 |
| • |
 |
| Created: | 2005-09-14 13:59:13 | | Modified: | 2005-09-14 14:03:46 | Visited in last 7 days: 15 |