Jacek Caban : iphlpapi: Added PfCreateInterface stub implementation.

Alexandre Julliard julliard at winehq.org
Tue Jun 7 12:02:38 CDT 2011


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

Author: Jacek Caban <jacek at codeweavers.com>
Date:   Tue Jun  7 13:10:57 2011 +0200

iphlpapi: Added PfCreateInterface stub implementation.

---

 dlls/iphlpapi/iphlpapi.spec   |    2 +-
 dlls/iphlpapi/iphlpapi_main.c |   11 +++++++++++
 2 files changed, 12 insertions(+), 1 deletions(-)

diff --git a/dlls/iphlpapi/iphlpapi.spec b/dlls/iphlpapi/iphlpapi.spec
index d6f33d7..e53a641 100644
--- a/dlls/iphlpapi/iphlpapi.spec
+++ b/dlls/iphlpapi/iphlpapi.spec
@@ -92,7 +92,7 @@
 @ stub _PfAddGlobalFilterToInterface at 8
 @ stub _PfBindInterfaceToIPAddress at 12
 @ stub _PfBindInterfaceToIndex at 16
-@ stub _PfCreateInterface at 24
+@ stdcall _PfCreateInterface at 24(long long long long long ptr) PfCreateInterface
 @ stub _PfDeleteInterface at 4
 @ stub _PfDeleteLog at 0
 @ stub _PfGetInterfaceStatistics at 16
diff --git a/dlls/iphlpapi/iphlpapi_main.c b/dlls/iphlpapi/iphlpapi_main.c
index 70b4876..d5e8f33 100644
--- a/dlls/iphlpapi/iphlpapi_main.c
+++ b/dlls/iphlpapi/iphlpapi_main.c
@@ -55,6 +55,7 @@
 #include "ifenum.h"
 #include "ipstats.h"
 #include "ipifcons.h"
+#include "fltdefs.h"
 
 #include "wine/debug.h"
 
@@ -2256,3 +2257,13 @@ DWORD WINAPI UnenableRouter(OVERLAPPED * pOverlapped, LPDWORD lpdwEnableCount)
    */
   return ERROR_NOT_SUPPORTED;
 }
+
+/******************************************************************
+ *    PfCreateInterface (IPHLPAPI.@)
+ */
+DWORD WINAPI PfCreateInterface(DWORD dwName, PFFORWARD_ACTION inAction, PFFORWARD_ACTION outAction,
+        BOOL bUseLog, BOOL bMustBeUnique, INTERFACE_HANDLE *ppInterface)
+{
+    FIXME("(%d %d %d %x %x %p) stub\n", dwName, inAction, outAction, bUseLog, bMustBeUnique, ppInterface);
+    return ERROR_CALL_NOT_IMPLEMENTED;
+}




More information about the wine-cvs mailing list