From: "Hao Peng" Subject: [PATCH 2/3] iphlpapi: Add PfDeleteInterface function stub (try 2) Message-Id: Date: Thu, 31 Jul 2014 15:27:47 +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 655fda1c..1e422f4 100644 --- a/dlls/iphlpapi/iphlpapi.spec +++ b/dlls/iphlpapi/iphlpapi.spec @@ -248,7 +248,7 @@ @ stdcall _PfBindInterfaceToIPAddress@12(long long ptr) PfBindInterfaceToIPAddress @ stub _PfBindInterfaceToIndex@16 @ stdcall _PfCreateInterface@24(long long long long long ptr) PfCreateInterface -@ stub _PfDeleteInterface@4 +@ stdcall _PfDeleteInterface@4(long) PfDeleteInterface @ stub _PfDeleteLog@0 @ stub _PfGetInterfaceStatistics@16 @ stub _PfMakeLog@4 diff --git a/dlls/iphlpapi/iphlpapi_main.c b/dlls/iphlpapi/iphlpapi_main.c index bd93863..8d6046a 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 } /****************************************************************** + * PfDeleteInterface(IPHLPAPI.@) + */ +DWORD WINAPI PfDeleteInterface(INTERFACE_HANDLE interface) +{ + FIXME("(%p) stub\n", interface); + return ERROR_CALL_NOT_IMPLEMENTED; +} +/****************************************************************** * PfBindInterfaceToIPAddress(IPHLPAPI.@) */