PATCH: internetgetconnectionstate
Marcus Meissner
marcus at jet.franken.de
Mon Jul 9 16:37:43 CDT 2001
Hi,
QuickTimePlayer 5 is using InternetGetConnectedState to check whether to
download its 'homepage'.
Just say we are connected, and on a LAN.
Ciao, Marcus
Changelog:
Have InternetGetConnectedState always return 'LAN connection'.
Index: internet.c
===================================================================
RCS file: /home/wine/wine/dlls/wininet/internet.c,v
retrieving revision 1.20
diff -u -r1.20 internet.c
--- internet.c 2001/06/19 18:20:51 1.20
+++ internet.c 2001/07/09 22:26:03
@@ -225,8 +225,11 @@
*/
BOOL WINAPI InternetGetConnectedState(LPDWORD lpdwStatus, DWORD dwReserved)
{
- FIXME("Stub\n");
- return FALSE;
+ if (lpdwStatus) {
+ FIXME("always returning LAN connection.\n");
+ *lpdwStatus = INTERNET_CONNECTION_LAN;
+ }
+ return TRUE;
}
More information about the wine-patches
mailing list