From: "Hao Peng" Subject: [PATCH 3/3] iphlpapi: Add PfUnBindInterface function stub (try 3) Message-Id: Date: Thu, 31 Jul 2014 15:28:04 +0800 fix bug 36833 sorry for that I didn't follow the rules to send patches to wine dev channel. Hope I corrected everything this time. --- dlls/iphlpapi/iphlpapi.spec | 2 +- dlls/iphlpapi/iphlpapi_main.c | 8 ++++++++ 2 files changed, 9 insertions(+), 1 deletion(-) fix bug 36833

sorry for that I didn't follow the rules to send patches to wine dev channel.
Hope I corrected everything this time.
---
 dlls/iphlpapi/iphlpapi.spec   | 2 +-
 dlls/iphlpapi/iphlpapi_main.c | 8 ++++++++
 2 files changed, 9 insertions(+), 1 deletion(-)


diff --git a/dlls/iphlpapi/iphlpapi.spec b/dlls/iphlpapi/iphlpapi.spec index 1e422f4..9e66d67 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 8d6046a..0c19f13 100644 --- a/dlls/iphlpapi/iphlpapi_main.c +++ b/dlls/iphlpapi/iphlpapi_main.c @@ -2511,6 +2511,14 @@ DWORD WINAPI PfCreateInterface(DWORD dwName, PFFORWARD_ACTION inAction, PFFORWAR } /****************************************************************** + * PfUnBindInterface (IPHLPAPI.@) + */ +DWORD WINAPI PfUnBindInterface(INTERFACE_HANDLE interface) +{ + FIXME("(%p) stub\n", interface); + return ERROR_CALL_NOT_IMPLEMENTED; +} +/****************************************************************** * PfDeleteInterface(IPHLPAPI.@) */ DWORD WINAPI PfDeleteInterface(INTERFACE_HANDLE interface)