From fec69301272508ec6000add6719802094f2bf63d Mon Sep 17 00:00:00 2001 From: Roderick Colenbrander Date: Mon, 22 Jul 2002 20:34:41 +0000 Subject: [PATCH] Simple implementation of InternetAutodial. --- dlls/wininet/internet.c | 22 ++++++++++++++++++++++ dlls/wininet/wininet.spec | 2 +- 2 files changed, 23 insertions(+), 1 deletion(-) diff --git a/dlls/wininet/internet.c b/dlls/wininet/internet.c index c407d918635..3d8e3d7d626 100644 --- a/dlls/wininet/internet.c +++ b/dlls/wininet/internet.c @@ -1776,3 +1776,25 @@ BOOL WINAPI InternetUnlockRequestFile( HANDLE hLockHandle) FIXME("STUB\n"); return FALSE; } + + +/*********************************************************************** + * InternetAutoDial + * + * On windows this function is supposed to dial the default internet + * connection. We don't want to have Wine dial out to the internet so + * we return TRUE by default. It might be nice to check if we are connected. + * + * RETURNS + * TRUE on success + * FALSE on failure + * + */ + +BOOL InternetAutoDial(DWORD dwFlags, HWND hwndParent) +{ + FIXME("STUB\n"); + + /* Tell that we are connected to the internet. */ + return TRUE; +} diff --git a/dlls/wininet/wininet.spec b/dlls/wininet/wininet.spec index e1c839c3bb1..13c05a1876e 100644 --- a/dlls/wininet/wininet.spec +++ b/dlls/wininet/wininet.spec @@ -81,7 +81,7 @@ init WININET_LibMain @ stub HttpSendRequestW @ stub IncrementUrlCacheHeaderData @ stdcall InternetAttemptConnect(long) InternetAttemptConnect -@ stub InternetAutodial +@ stdcall InternetAutodial(long ptr) InternetAutoDial @ stub InternetAutodialCallback @ stub InternetAutodialHangup @ stdcall InternetCanonicalizeUrlA(str str ptr long) InternetCanonicalizeUrlA