X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/bf9b6266faaa6534b75e5282aab58f1476eecbaa..d21d2e5adf7a5acf3b496a9c4e87eab220bd75d8:/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) \