|
Платные хостинги
Раскрутка сайта
Книги по программированию
Дозвон, до прова
- Привет!Как зная имя dial-up соединения запустить его дозвон до прова.
- DWORD InternetDial( IN HWND hwndParent, IN LPTSTR lpszConnectoid, IN DWORD dwFlags, OUT LPDWORD lpdwConnection, IN DWORD dwReserved);Initiates a connection to the Internet using a modem connection. hwndParent Handle to the parent window. lpszConnectoid String value containing the name of the dial-up connection to use. dwFlags Double-word value that contains the flags to use. Can be one of the following values: INTERNET_AUTODIAL_FORCE_ONLINE Forces an online connection. INTERNET_AUTODIAL_FORCE_UNATTENDED Forces an unattended Internet dial-up. INTERNET_DIAL_UNATTENDED Connects to the Internet through a modem, without displaying a user interface. lpdwConnection Address of a double-word value containing the number associated to the connection. dwReserved Reserved. Must be set to zero.
- если соединение по умолчанию можно такBOOL InternetAutodial( IN DWORD dwFlags, IN DWORD dwReserved);Automatically causes the modem to dial the default Internet connection. Returns TRUE if successful, or FALSE otherwise. dwFlags Double-word value that contains the flags controlling this operation. Can be one of the following values: INTERNET_AUTODIAL_FORCE_ONLINE Forces an online Internet connection. INTERNET_AUTODIAL_FORCE_UNATTENDED Forces an unattended Internet dial-up. dwReserved Reserved. Must be set to zero.
- Блин, а по проще?
- чего еще прощеInternetDial(Self,'Имя соединения',INTERNET_AUTODIAL_FORCE_ONLINE ,ИД соединения,0);илиInternetAutodial(INTERNET_AUTODIAL_FORCE_ONLINE,0);где сложности?
Интернет казино
Онлайн игры
Увеличение члена
Купить DVD
|