From 8128ddfac86c480cc25669e8ec08477dbe393976 Mon Sep 17 00:00:00 2001 From: Hao Peng Date: Thu, 31 Jul 2014 15:28:04 +0800 Subject: [PATCH] iphlpapi: Add PfUnBindInterface function stub. --- dlls/iphlpapi/iphlpapi.spec | 2 +- dlls/iphlpapi/iphlpapi_main.c | 9 +++++++++ 2 files changed, 10 insertions(+), 1 deletion(-) diff --git a/dlls/iphlpapi/iphlpapi.spec b/dlls/iphlpapi/iphlpapi.spec index 1e422f4fb60..9e66d67474e 100644 --- a/dlls/iphlpapi/iphlpapi.spec +++ b/dlls/iphlpapi/iphlpapi.spec @@ -258,7 +258,7 @@ @ stub _PfRemoveGlobalFilterFromInterface@8 @ stub _PfSetLogBuffer@28 @ stub _PfTestPacket@20 -@ stub _PfUnBindInterface@4 +@ stdcall _PfUnBindInterface@4(long) PfUnBindInterface #@ stub register_icmp #@ stub ResolveIpNetEntry2 #@ stub ResolveNeighbor diff --git a/dlls/iphlpapi/iphlpapi_main.c b/dlls/iphlpapi/iphlpapi_main.c index 0d9e3716154..88db25a3f85 100644 --- a/dlls/iphlpapi/iphlpapi_main.c +++ b/dlls/iphlpapi/iphlpapi_main.c @@ -2510,6 +2510,15 @@ DWORD WINAPI PfCreateInterface(DWORD dwName, PFFORWARD_ACTION inAction, PFFORWAR return ERROR_CALL_NOT_IMPLEMENTED; } +/****************************************************************** + * PfUnBindInterface (IPHLPAPI.@) + */ +DWORD WINAPI PfUnBindInterface(INTERFACE_HANDLE interface) +{ + FIXME("(%p) stub\n", interface); + return ERROR_CALL_NOT_IMPLEMENTED; +} + /****************************************************************** * PfDeleteInterface(IPHLPAPI.@) */