Главная страница
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.014 c
14-64386
SergeN
2003-03-05 08:02
2003.03.20
МК-61, МК-52, ...


4-64439
UNIVERSAL
2003-01-27 09:56
2003.03.20
Добавить запись в LISTBOX


14-64332
Supreme 2
2003-03-03 18:10
2003.03.20
Кто какую


14-64323
euru
2003-03-04 14:53
2003.03.20
Использование указателей


14-64277
VictorT
2003-03-03 13:29
2003.03.20
Поругайте :)