AllAPI Network - The KPD-Team

 
Allapi Network
 API-Guide
 ApiViewer

 API List

 
API Resources
 Tips & Tricks
 VB Tutorials
 Error Lookup
 
Misc Stuff
 VB examples
 VB Tools
 VB Links
 Top Downloads
 
This Site
 Search Engine
 Contact Form
 

Donate to AllAPI.net

NetMessageBufferSend

The NetMessageBufferSend function sends a buffer of information to a registered message alias.

VB4-32,5,6
Declare Function NetMessageBufferSend Lib "NETAPI32.DLL" (yServer As Any, yToName As Byte, yFromName As Any, yMsg As Byte, ByVal lSize As Long) As Long

Operating Systems Supported
Requires Windows NT 3.1 or later; Win9x/ME: Not supported

Library
Netapi32

Parameter Information
· servername
[in] Pointer to a constant Unicode string specifying the name of the remote server on which the function is to execute. The string must begin with \\. If this parameter is NULL, the local computer is used.

· msgname
[in] Pointer to a constant Unicode string specifying the message alias to which the message buffer should be sent.

· fromname
[in] Pointer to a constant Unicode 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 DWORD value that contains the length, in bytes, of the message text pointed to by the buf parameter.

Return Values
If the function succeeds, the return value is NERR_Success.

If the function fails, the return value can be one of the following error codes.

ERROR_ACCESS_DENIED
The user does not have access to the requested information.
ERROR_INVALID_PARAMETER
The specified parameter is invalid.
ERROR_NOT_SUPPORTED
This network request is not supported.
NERR_NameNotFound
The user name could not be found.
NERR_NetworkError
A general failure occurred in the network hardware.

Examples

Related Functions

 

 


Copyright © 1998-2007, The Mentalis.org Team - Privacy statement
Did you find a bug on this page? Tell us!
This site is located at http://allapi.mentalis.org/