From bccb944105e0e42c2d38899d61e7e67f9f3bd078 Mon Sep 17 00:00:00 2001 From: Ralf Habacker Date: Thu, 8 Aug 2013 23:23:11 +0200 Subject: [PATCH] Add debug messages to load_ex_ip_helper_procedures(). --- dbus/dbus-sysdeps-win.c | 6 ++++++ 1 Datei geändert, 6 Zeilen hinzugefügt(+) diff --git a/dbus/dbus-sysdeps-win.c b/dbus/dbus-sysdeps-win.c index 3474069..6f3f262 100644 --- a/dbus/dbus-sysdeps-win.c +++ b/dbus/dbus-sysdeps-win.c @@ -125,11 +125,17 @@ static BOOL load_ex_ip_helper_procedures(void) { HMODULE hModule = LoadLibrary ("iphlpapi.dll"); if (hModule == NULL) + { + _dbus_verbose ("could not load iphlpapi.dll\n"); return FALSE; + } lpfnAllocateAndGetTcpExTableFromStack = (ProcAllocateAndGetTcpExtTableFromStack)GetProcAddress (hModule, "AllocateAndGetTcpExTableFromStack"); if (lpfnAllocateAndGetTcpExTableFromStack == NULL) + { + _dbus_verbose ("could not find function AllocateAndGetTcpExTableFromStack in iphlpapi.dll\n"); return FALSE; + } return TRUE; } -- 1.7.10.4