X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/bf9b6266faaa6534b75e5282aab58f1476eecbaa..33754c4d83c59b7523a6da0c4fb21079cb60301c:/src/msw/dialup.cpp 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) \