corrected InternetGetConnectedState() prototype

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12762 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin
2001-11-30 17:02:21 +00:00
parent 7104f65dbe
commit 5a56be287a

View File

@@ -968,7 +968,7 @@ bool wxDialUpManagerMSW::IsAlwaysOnline() const
wxDllType hDll = wxDllLoader::LoadLibrary(_T("WININET"), &ok); wxDllType hDll = wxDllLoader::LoadLibrary(_T("WININET"), &ok);
if ( ok ) if ( ok )
{ {
typedef BOOL (*INTERNETGETCONNECTEDSTATE)(LPDWORD, DWORD); typedef BOOL (WINAPI *INTERNETGETCONNECTEDSTATE)(LPDWORD, DWORD);
INTERNETGETCONNECTEDSTATE pfnInternetGetConnectedState; INTERNETGETCONNECTEDSTATE pfnInternetGetConnectedState;
#define RESOLVE_FUNCTION(type, name) \ #define RESOLVE_FUNCTION(type, name) \