From 6c033225669c238e03038d6c8e5c3cc3ea5789ad Mon Sep 17 00:00:00 2001 From: Danny Smith Date: Thu, 13 Jan 2005 09:14:42 +0000 Subject: [PATCH] 2005-01-13 Benoit Blanchon * include/wininet.h (InternetCheckConnectionA, InternetCheckConnectionW) Add prototypes. (INTERNET_RAS_INSTALLED, INTERNET_CONNECTION_OFFLINE, INTERNET_CONNECTION_CONFIGURED): Add defines. --- winsup/w32api/ChangeLog | 7 +++++++ winsup/w32api/include/wininet.h | 15 +++++++++++---- 2 files changed, 18 insertions(+), 4 deletions(-) diff --git a/winsup/w32api/ChangeLog b/winsup/w32api/ChangeLog index 6f6f90d0f..b8c0357f6 100644 --- a/winsup/w32api/ChangeLog +++ b/winsup/w32api/ChangeLog @@ -1,3 +1,10 @@ +2005-01-13 Benoit Blanchon + + * include/wininet.h (InternetCheckConnectionA, + InternetCheckConnectionW) Add prototypes. + (INTERNET_RAS_INSTALLED, INTERNET_CONNECTION_OFFLINE, + INTERNET_CONNECTION_CONFIGURED): Add defines. + 2005-01-07 Chris Sutcliffe * include/commctrl.h (ComboBox_SetMinVisible, diff --git a/winsup/w32api/include/wininet.h b/winsup/w32api/include/wininet.h index 722114dcc..5077eee1a 100644 --- a/winsup/w32api/include/wininet.h +++ b/winsup/w32api/include/wininet.h @@ -473,10 +473,13 @@ GOPHER_TYPE_UNIX_UUENCODED|GOPHER_TYPE_BINARY|GOPHER_TYPE_GIF|GOPHER_TYPE_IMAGE| #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 +#define INTERNET_CONNECTION_MODEM 0x01 +#define INTERNET_CONNECTION_LAN 0x02 +#define INTERNET_CONNECTION_PROXY 0x04 +#define INTERNET_CONNECTION_MODEM_BUSY 0x08 +#define INTERNET_RAS_INSTALLED 0x10 +#define INTERNET_CONNECTION_OFFLINE 0x20 +#define INTERNET_CONNECTION_CONFIGURED 0x40 #define CACHEGROUP_SEARCH_ALL 0 #define CACHEGROUP_SEARCH_BYURL 1 #define INTERNET_CACHE_GROUP_ADD 0 @@ -743,6 +746,8 @@ BOOL WINAPI InternetCreateUrlA(LPURL_COMPONENTSA,DWORD,LPSTR,PDWORD); BOOL WINAPI InternetCreateUrlW(LPURL_COMPONENTSW,DWORD,LPWSTR,PDWORD); BOOL WINAPI InternetCanonicalizeUrlA(LPCSTR,LPSTR,PDWORD,DWORD); BOOL WINAPI InternetCanonicalizeUrlW(LPCWSTR,LPWSTR,PDWORD,DWORD); +BOOL WINAPI InternetCheckConnectionA(LPCSTR,DWORD,DWORD); +BOOL WINAPI InternetCheckConnectionW(LPCWSTR,DWORD,DWORD); BOOL WINAPI InternetCombineUrlA(LPCSTR,LPCSTR,LPSTR,PDWORD,DWORD); BOOL WINAPI InternetCombineUrlW(LPCWSTR,LPCWSTR,LPWSTR,PDWORD,DWORD); HINTERNET WINAPI InternetOpenA(LPCSTR,DWORD,LPCSTR,LPCSTR,DWORD); @@ -863,6 +868,7 @@ BOOL WINAPI SetUrlCacheGroupAttributeW(GROUPID,DWORD,DWORD,LPINTERNET_CACHE_GROU #define InternetCrackUrl InternetCrackUrlW #define InternetCreateUrl InternetCreateUrlW #define InternetCanonicalizeUrl InternetCanonicalizeUrlW +#define InternetCheckConnection InternetCheckConnectionW #define InternetCombineUrl InternetCombineUrlW #define InternetOpen InternetOpenW #define InternetConnect InternetConnectW @@ -912,6 +918,7 @@ BOOL WINAPI SetUrlCacheGroupAttributeW(GROUPID,DWORD,DWORD,LPINTERNET_CACHE_GROU #define InternetCrackUrl InternetCrackUrlA #define InternetCreateUrl InternetCreateUrlA #define InternetCanonicalizeUrl InternetCanonicalizeUrlA +#define InternetCheckConnection InternetCheckConnectionA #define InternetCombineUrl InternetCombineUrlA #define InternetOpen InternetOpenA #define InternetConnect InternetConnectA