Вниз
Скачать: CL | DM;

DialUp соединения   Найти похожие ветки 

 
BoB   (2003-01-27 11:06) [0]

Подскажите плиз:
1. Как установить модемное соединение(существующее или с заданными програмно параметрами).
2. Как его закрыть.
3. Узнать о всех существующих соединениях.
4. Закрыть чужое соединение.

Объясните для Дельфей и C++.


 
Тень ©   (2003-01-30 17:12) [1]

1.
InternetAutodial FunctionCauses the modem to automatically dial the default Internet connection.
SyntaxBOOL InternetAutodial(
IN DWORD dwFlags,
IN HWND hwndParent);
ParametersdwFlags
Unsigned long integer value that contains the flags controlling this operation. This can be one of the following values:
INTERNET_AUTODIAL_FAILIFSECURITYCHECK
Causes InternetAutodial to fail if file and printer sharing is disabled for Microsoft® Windows® 95/98.
INTERNET_AUTODIAL_FORCE_ONLINE
Forces an online Internet connection.
INTERNET_AUTODIAL_FORCE_UNATTENDED
Forces an unattended Internet dial-up.
hwndParent
Handle to the parent window.
Return Value
Returns TRUE if successful, or FALSE otherwise.
2.
InternetAutodialHangup Function
Disconnects an automatic dial-up connection.
Syntax
BOOL InternetAutodialHangup(
IN DWORD dwReserved
);
Parameters
dwReserved
Reserved. Must be set to zero.
Return Value
Returns TRUE if successful, or FALSE otherwise.


 
wal ©   (2003-01-30 19:45) [2]

1. RasDial
2. RasHangUp
3. RasEnumConnections
4. см. пункт 2



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

Скачать: CL | DM;



Память: 0.45 MB
Время: 0.011 c
8-64235
BMG
2002-12-06 12:07
2003.03.20
Как можно определить текст на рисунке.?


7-64399
Hopkins
2002-12-14 12:28
2003.03.20
Как из Delphi вносить изменения в окнах апплетов ?


3-64046
Dim!S
2003-03-03 09:25
2003.03.20
Строка в два ряда


1-64092
SkyQuake
2003-03-04 08:02
2003.03.20
Ключевое слово object


3-63975
phantom2040
2003-02-28 09:04
2003.03.20
Второй вопрос по SQL




   Наверх