From: Vadim Zeitlin Date: Fri, 30 Nov 2001 17:02:21 +0000 (+0000) Subject: corrected InternetGetConnectedState() prototype X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/5a56be287a56be10aea675d3038b3ea00b2754ed?ds=sidebyside corrected InternetGetConnectedState() prototype git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12762 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/src/msw/dialup.cpp b/src/msw/dialup.cpp index e7a00a506b..ff5cdfa3db 100644 --- a/src/msw/dialup.cpp +++ b/src/msw/dialup.cpp @@ -968,7 +968,7 @@ bool wxDialUpManagerMSW::IsAlwaysOnline() const wxDllType hDll = wxDllLoader::LoadLibrary(_T("WININET"), &ok); if ( ok ) { - typedef BOOL (*INTERNETGETCONNECTEDSTATE)(LPDWORD, DWORD); + typedef BOOL (WINAPI *INTERNETGETCONNECTEDSTATE)(LPDWORD, DWORD); INTERNETGETCONNECTEDSTATE pfnInternetGetConnectedState; #define RESOLVE_FUNCTION(type, name) \