From bb36822663aeb8e82a3c0c6dd7aa0ad287b6fb65 Mon Sep 17 00:00:00 2001 From: Earnie Boyd Date: Mon, 10 Sep 2001 16:50:06 +0000 Subject: [PATCH] 2001-09-05 Danny Smith * include/wininet.h (InternetAutodial): Add prototype. (InternetAutodialHangup): Ditto. (InternetDial): Ditto. (InternetGetConnectedState): Ditto. (InternetGoOnline): Ditto. (InternetHangUp): Ditto. (InternetSetDialState): Ditto. Add associated INTERNET_* auto dial flags. Guard typedefs and prototypes with #ifndef RC_INVOKED. --- winsup/w32api/ChangeLog | 12 ++++++++++++ winsup/w32api/include/wininet.h | 23 ++++++++++++++++++++++- 2 files changed, 34 insertions(+), 1 deletion(-) diff --git a/winsup/w32api/ChangeLog b/winsup/w32api/ChangeLog index baa94ae6f..83a345788 100644 --- a/winsup/w32api/ChangeLog +++ b/winsup/w32api/ChangeLog @@ -1,3 +1,15 @@ +2001-09-05 Danny Smith + + * include/wininet.h (InternetAutodial): Add prototype. + (InternetAutodialHangup): Ditto. + (InternetDial): Ditto. + (InternetGetConnectedState): Ditto. + (InternetGoOnline): Ditto. + (InternetHangUp): Ditto. + (InternetSetDialState): Ditto. + Add associated INTERNET_* auto dial flags. + Guard typedefs and prototypes with #ifndef RC_INVOKED. + 2001-09-04 Earnie Boyd * lib/Makefile.in: Move the setting of variable libdir to after the diff --git a/winsup/w32api/include/wininet.h b/winsup/w32api/include/wininet.h index ec1e69574..1790338b1 100644 --- a/winsup/w32api/include/wininet.h +++ b/winsup/w32api/include/wininet.h @@ -455,7 +455,19 @@ GOPHER_TYPE_UNIX_UUENCODED|GOPHER_TYPE_BINARY|GOPHER_TYPE_GIF|GOPHER_TYPE_IMAGE| #define HSR_INITIATE 8 #define HSR_DOWNLOAD 16 #define HSR_CHUNKED 32 +#define INTERNET_DIAL_UNATTENDED 0x8000 +#define INTERNET_DIALSTATE_DISCONNECTED 1 +#define INTERENT_GOONLINE_REFRESH 1 +#define INTERENT_GOONLINE_MASK 1 +#define INTERNET_AUTODIAL_FORCE_ONLINE 1 +#define INTERNET_AUTODIAL_FORCE_UNATTENDED 2 +#define INTERNET_AUTODIAL_FAILIFSECURITYCHECK 4 +#define INTERNET_CONNECTION_MODEM 1 +#define INTERNET_CONNECTION_LAN 2 +#define INTERNET_CONNECTION_PROXY 4 +#define INTERNET_CONNECTION_MODEM_BUSY 8 +#ifndef RC_INVOKED typedef PVOID HINTERNET; typedef HINTERNET *LPHINTERNET; typedef WORD INTERNET_PORT,*LPINTERNET_PORT; @@ -788,6 +800,14 @@ BOOL WINAPI HttpSendRequestExA(HINTERNET,LPINTERNET_BUFFERSA,LPINTERNET_BUFFERSA BOOL WINAPI HttpSendRequestExW(HINTERNET,LPINTERNET_BUFFERSW,LPINTERNET_BUFFERSW,DWORD,DWORD); BOOL WINAPI HttpEndRequestA(HINTERNET,LPINTERNET_BUFFERSA,DWORD,DWORD); BOOL WINAPI HttpEndRequestW(HINTERNET,LPINTERNET_BUFFERSW,DWORD,DWORD); +DWORD WINAPI InternetDial(HWND,LPTSTR,DWORD,LPDWORD,DWORD); +DWORD WINAPI InternetHangUp(DWORD,DWORD); +BOOL WINAPI InternetGoOnline(LPTSTR,HWND,DWORD); +BOOL WINAPI InternetAutodial(DWORD,DWORD); +BOOL WINAPI InternetAutodialHangup(DWORD); +BOOL WINAPI InternetGetConnectedState(LPDWORD,DWORD); +BOOL WINAPI InternetSetDialState(LPCTSTR,DWORD,DWORD); + #ifdef UNICODE #define InternetCrackUrl InternetCrackUrlW #define InternetCreateUrl InternetCreateUrlW @@ -878,7 +898,8 @@ BOOL WINAPI HttpEndRequestW(HINTERNET,LPINTERNET_BUFFERSW,DWORD,DWORD); #define RetrieveUrlCacheEntryFile RetrieveUrlCacheEntryFileA #define HttpSendRequestEx HttpSendRequestExA #define HttpEndRequest HttpEndRequestA -#endif +#endif /* UNICODE */ +#endif /* RC_INVOKED */ #ifdef __cplusplus } #endif