From 76eba12e1c84490ee895496481e9e8ff4928d940 Mon Sep 17 00:00:00 2001 From: Jacek Caban Date: Tue, 7 Jun 2011 13:10:57 +0200 Subject: [PATCH] iphlpapi: Added PfCreateInterface stub implementation. --- dlls/iphlpapi/iphlpapi.spec | 2 +- dlls/iphlpapi/iphlpapi_main.c | 11 +++++++++++ 2 files changed, 12 insertions(+), 1 deletion(-) diff --git a/dlls/iphlpapi/iphlpapi.spec b/dlls/iphlpapi/iphlpapi.spec index d6f33d73fa1..e53a64140e2 100644 --- a/dlls/iphlpapi/iphlpapi.spec +++ b/dlls/iphlpapi/iphlpapi.spec @@ -92,7 +92,7 @@ @ stub _PfAddGlobalFilterToInterface@8 @ stub _PfBindInterfaceToIPAddress@12 @ stub _PfBindInterfaceToIndex@16 -@ stub _PfCreateInterface@24 +@ stdcall _PfCreateInterface@24(long long long long long ptr) PfCreateInterface @ stub _PfDeleteInterface@4 @ stub _PfDeleteLog@0 @ stub _PfGetInterfaceStatistics@16 diff --git a/dlls/iphlpapi/iphlpapi_main.c b/dlls/iphlpapi/iphlpapi_main.c index 70b4876884e..d5e8f3324e9 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; +} -- 2.11.4.GIT