Главная страница
Top.Mail.Ru    Яндекс.Метрика
Текущий архив: 2003.06.05;
Скачать: CL | DM;

Вниз

Кто подскажет ф-цию аналог команды net send   Найти похожие ветки 

 
Is   (2003-03-13 18:35) [0]

?


 
AK74   (2003-03-13 18:42) [1]

NetMessageBufferSend из netapi32.dll


 
Is   (2003-03-13 18:49) [2]

Спасибо как бы ещё ей воспользоваться ? :о)


 
LeReve ©   (2003-03-14 11:23) [3]

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

Security Requirements

No special group membership is required to execute NetMessageBufferSend on a LAN Manager or Windows NT system. Admin, Accounts, Print, or Server operator group membership is required to successfully execute NetMessageBufferSend on a remote server.

NET_API_STATUS NetMessageBufferSend(

LPTSTR servername,
LPTSTR msgname,
LPTSTR fromname,
LPBYTE buf,
DWORD buflen
);


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 to which the message buffer should be sent.

fromname

Pointer to a Unicode string containing the message name sending the information. The fromname parameter is new for Windows networking. This parameter is needed for sending interrupting messages from the computer name rather than the logged on user. If NULL is specified, the message is sent from the logged-on user as with LAN Manager 2.x.

buf

Pointer to a buffer of message text.

buflen

The length, in bytes, of the message text in buf.


 
sanya   (2003-04-02 18:34) [4]

А чем тебе не нравится net send?
uses
..., ShellAPI;

<...>

procedure send_message(AppHWND: HWND; Host: string; Msg: string);
begin
ShellAPI.ShellExecute(AppHWND,"open",PChar("net"),PChar("send "+Host+" ""+Msg),nil,SW_HIDE);
end;
<...>


вызов такой:

send_message(Handle,"localhost","Собственно, сообщение");


 
Songoku ©   (2003-04-02 19:06) [5]

А для чего это функция(NetMessageBufferSend) вобще???


 
sucer   (2003-04-03 05:24) [6]

Удалено модератором
Примечание: Задай свой вопрос в отдельной ветке



Страницы: 1 вся ветка

Текущий архив: 2003.06.05;
Скачать: CL | DM;

Наверх




Память: 0.47 MB
Время: 0.012 c
8-13332
Adil
2003-02-23 10:23
2003.06.05
Autorun programmi


14-13420
Vlad Oshin
2003-05-19 12:28
2003.06.05
оцените навскидку ноутбук, чтоб мне отвязаться :), пожалуст


8-13341
real_dimedrol
2003-02-18 16:24
2003.06.05
Form Shape Aka Bitmap


14-13442
zeratul_pr
2003-05-20 01:13
2003.06.05
ищем чистый ДОС


7-13493
Игорь_Г
2003-03-27 01:15
2003.06.05
Работа с драйверами