summaryrefslogtreecommitdiff
path: root/psutil/arch/windows/global.c
diff options
context:
space:
mode:
Diffstat (limited to 'psutil/arch/windows/global.c')
-rw-r--r--psutil/arch/windows/global.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/psutil/arch/windows/global.c b/psutil/arch/windows/global.c
index 9ead780a..b8bf8162 100644
--- a/psutil/arch/windows/global.c
+++ b/psutil/arch/windows/global.c
@@ -88,6 +88,11 @@ psutil_load_globals() {
if (! psutil_GetExtendedTcpTable)
return 1;
+ psutil_GetExtendedUdpTable = ps_GetProcAddressFromLib(
+ "iphlpapi.dll", "GetExtendedUdpTable");
+ if (! psutil_GetExtendedUdpTable)
+ return 1;
+
// Optionals.
psutil_GetActiveProcessorCount = ps_GetProcAddress(