From 9d3845c565ca8e0efcf31bc1f696ba48998119e5 Mon Sep 17 00:00:00 2001 From: Gerard Patel Date: Sun, 23 Apr 2000 19:55:26 +0000 Subject: [PATCH] Stub for InternetGetConnectedState. --- dlls/wininet/internet.c | 20 +++++++++++++++++++- dlls/wininet/wininet.spec | 2 +- 2 files changed, 20 insertions(+), 2 deletions(-) diff --git a/dlls/wininet/internet.c b/dlls/wininet/internet.c index 0f59cf712f0..16e5dbef0a5 100644 --- a/dlls/wininet/internet.c +++ b/dlls/wininet/internet.c @@ -194,6 +194,24 @@ BOOL WINAPI InternetGetLastResponseInfoA(LPDWORD lpdwError, } +/*********************************************************************** + * InternetGetConnectedState (WININET.103) + * + * Return connected state + * + * RETURNS + * TRUE if connected + * if lpdwStatus is not null, return the status (off line, + * modem, lan...) in it. + * FALSE if not connected + */ +BOOL WINAPI InternetGetConnectedState(LPDWORD lpdwStatus, DWORD dwReserved) +{ + FIXME("Stub\n"); + return FALSE; +} + + /*********************************************************************** * InternetConnectA (WININET.93) * @@ -921,7 +939,7 @@ BOOL INTERNET_InsertWorkRequest(LPWORKREQUEST lpWorkRequest) /*********************************************************************** - * INTERNET_GetWokkRequest (internal) + * INTERNET_GetWorkRequest (internal) * * Retrieves work request from queue * diff --git a/dlls/wininet/wininet.spec b/dlls/wininet/wininet.spec index 73af78a21cf..9308726b953 100644 --- a/dlls/wininet/wininet.spec +++ b/dlls/wininet/wininet.spec @@ -106,7 +106,7 @@ init WININET_LibMain @ stdcall InternetFindNextFileA(ptr ptr) InternetFindNextFileA @ stub InternetFindNextFileW @ stub InternetGetCertByURL -@ stub InternetGetConnectedState +@ stdcall InternetGetConnectedState(ptr long) InternetGetConnectedState @ stub InternetGetCookieA @ stub InternetGetCookieW @ stdcall InternetGetLastResponseInfoA(ptr str ptr) InternetGetLastResponseInfoA