Главная страница
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.013 c
1-64130
Alex76S
2003-03-11 10:07
2003.03.20
Необходимо запустить exe файл и выполнить код после его закрытие


3-64033
Aramis
2003-03-02 16:53
2003.03.20
Работа с Clipper-овскими индексами NTX


1-64178
_stranger_
2003-03-07 17:58
2003.03.20
Qreport


1-64154
Leo_pr
2003-03-07 14:46
2003.03.20
Help


1-64164
lexusU
2003-03-07 15:01
2003.03.20
Распознавание изображений