Using Win32 functions in Visual FoxPro Image Gallery
Network Management
..msdn
NetApiBufferFree
NetApiBufferSize
NetConnectionEnum
NetFileClose
NetFileEnum
NetFileGetInfo
NetGetDCName
NetGroupEnum
NetLocalGroupEnum
NetMessageBufferSend
NetMessageNameAdd
NetMessageNameDel
NetMessageNameEnum
NetScheduleJobAdd
NetScheduleJobDel
NetScheduleJobEnum
NetServerEnum
NetServerGetInfo
NetSessionEnum
NetShareAdd
NetShareDel
NetShareEnum
NetShareSetInfo
NetUserAdd
NetUserChangePassword
NetUserDel
NetUserEnum
NetUserGetGroups
NetUserGetInfo
NetUserGetLocalGroups
NetUserSetInfo
NetWkstaGetInfo
NetWkstaTransportEnum
NetWkstaUserEnum
Code examples:
Using the NetMessageBufferSend to send messages on the network
NetMessageBufferSend
..msdn    Add comment     W32 Constants      Translate this page
Sends a buffer of information to a registered message alias.
Code examples:
Using the NetMessageBufferSend to send messages on the network
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:
  Spanish    Portuguese    German    French    Italian  
FreeTranslation.com offers instant, free translations of text or web pages.
Created: 2005-09-14 13:59:13
Modified: 2005-09-14 14:03:46
Visited in last 7 days: 9
User Contributed Notes:
There are no notes on this subject.


Copyright 2001-2017 News2News, Inc. Before reproducing or distributing any data from this site please ask for an approval from its owner. Unless otherwise specified, this page is for your personal and non-commercial use. The information on this page is presented AS IS, meaning that you may use it at your own risk. Microsoft Visual FoxPro and Windows are trade marks of Microsoft Corp. All other trademarks are the property of their respective owners. 

Privacy policy
Credits: PHP (4.4.9), an HTML-embedded scripting language, MySQL (5.6.38), the Open Source standard SQL database, AceHTML Freeware Version 4, freeware HTML Editor of choice.   Hosted by Korax Online Inc.
Last Topics Visited (54.196.47.128)
5 sec.Function: 'FtpFindFirstFile'
9 sec.Function: 'GetCurrentDirectory'
Function group: 'File Management'
13 sec.
Function group: 'Setup API functions'
17 sec.Function: 'recvfrom'
Function group: 'Windows Sockets 2 (Winsock)'
26 sec.
34 sec.Function: 'NetUserAdd'
Function group: 'Network Management'
38 sec.Function: 'GdipDeleteFont'
Function group: 'GDI+ Font'
43 sec.Function: 'PlaySound'
Function group: 'Windows Multimedia'
48 sec.Function: 'StrFromTimeInterval'
Function group: 'String'
52 sec.Example: 'Pocket PC: custom RAPI class for operating with files and folders on mobile device'
Google
Advertise here!