Hao Peng : iphlpapi: Add PfBindInterfaceToIPAddress function stub.

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


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

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

iphlpapi: Add PfBindInterfaceToIPAddress 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 36ba13f..655fda1c 100644
--- a/dlls/iphlpapi/iphlpapi.spec
+++ b/dlls/iphlpapi/iphlpapi.spec
@@ -245,7 +245,7 @@
 #@ stub ParseNetworkString
 @ stub _PfAddFiltersToInterface at 24
 @ stub _PfAddGlobalFilterToInterface at 8
-@ stub _PfBindInterfaceToIPAddress at 12
+@ 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
diff --git a/dlls/iphlpapi/iphlpapi_main.c b/dlls/iphlpapi/iphlpapi_main.c
index 70a063b..8d8c39c 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
 }
 
 /******************************************************************
+ *   PfBindInterfaceToIPAddress(IPHLPAPI.@)
+ */
+DWORD WINAPI PfBindInterfaceToIPAddress(INTERFACE_HANDLE interface, PFADDRESSTYPE type, PBYTE ip)
+{
+    FIXME("(%p %d %p) stub\n", interface, type, ip);
+    return ERROR_CALL_NOT_IMPLEMENTED;
+}
+
+/******************************************************************
  *    GetTcpTable2 (IPHLPAPI.@)
  */
 ULONG WINAPI GetTcpTable2(PMIB_TCPTABLE2 table, PULONG size, BOOL order)




More information about the wine-cvs mailing list