Главная страница
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.016 c
3-64040
tribesman
2003-03-02 19:11
2003.03.20
Выбор БД


4-64437
Donatas
2003-01-22 20:54
2003.03.20
?readprocessmemory?


14-64365
Novic
2003-03-05 10:06
2003.03.20
Сохранение проекта


14-64379
Карелин Артем
2003-03-05 08:51
2003.03.20
Чат и Опера 6,1


7-64400
ЮРИЙ_К
2003-01-24 10:28
2003.03.20
Спрятать прогу от Ctrl+Alt+Del для ХР ?