Главная страница
Top.Mail.Ru    Яндекс.Метрика
Текущий архив: 2003.03.20;
Скачать: 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 вся ветка

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

Наверх




Память: 0.47 MB
Время: 0.019 c
14-64309
Sir Alex
2003-03-04 11:59
2003.03.20
Сторонний RAS сервер (не майкасофт)


3-64012
Сергей
2003-02-28 21:56
2003.03.20
Работа с ADO


14-64284
BJValentine
2003-03-05 19:00
2003.03.20
Устройства


7-64393
Oleg_G
2003-01-22 23:58
2003.03.20
Как можно узнать объем Винта в Гб и ОЗУ


14-64375
бомонд
2003-03-05 14:28
2003.03.20
Сенокос