Hao Peng : iphlpapi: Add PfDeleteInterface function stub.

Alexandre Julliard julliard at wine.codeweavers.com
Tue Aug 5 18:03:07 CDT 2014


Module: wine
Branch: master
Commit: 240e66a281f9588bc943181d62c96460132f6c74
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=240e66a281f9588bc943181d62c96460132f6c74

Author: Hao Peng <penghao at linuxdeepin.com>
Date:   Thu Jul 31 15:27:47 2014 +0800

iphlpapi: Add PfDeleteInterface 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 655fda1c..1e422f4 100644
--- a/dlls/iphlpapi/iphlpapi.spec
+++ b/dlls/iphlpapi/iphlpapi.spec
@@ -248,7 +248,7 @@
 @ stdcall _PfBindInterfaceToIPAddress at 12(long long ptr) PfBindInterfaceToIPAddress
 @ stub _PfBindInterfaceToIndex at 16
 @ stdcall _PfCreateInterface at 24(long long long long long ptr) PfCreateInterface
-@ stub _PfDeleteInterface at 4
+@ stdcall _PfDeleteInterface at 4(long) PfDeleteInterface
 @ stub _PfDeleteLog at 0
 @ stub _PfGetInterfaceStatistics at 16
 @ stub _PfMakeLog at 4
diff --git a/dlls/iphlpapi/iphlpapi_main.c b/dlls/iphlpapi/iphlpapi_main.c
index 8d8c39c..0d9e371 100644
--- a/dlls/iphlpapi/iphlpapi_main.c
+++ b/dlls/iphlpapi/iphlpapi_main.c
@@ -2511,6 +2511,15 @@ 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.@)
  */
 DWORD WINAPI PfBindInterfaceToIPAddress(INTERFACE_HANDLE interface, PFADDRESSTYPE type, PBYTE ip)




More information about the wine-cvs mailing list