Module: wine Branch: master Commit: 76eba12e1c84490ee895496481e9e8ff4928d940 URL: http://source.winehq.org/git/wine.git/?a=commit;h=76eba12e1c84490ee895496481...
Author: Jacek Caban jacek@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@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 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; +}