Bruno Jesus : iphlpapi: Add a stub for SetPerTcpConnectionEStats.
Alexandre Julliard
julliard at wine.codeweavers.com
Mon Aug 17 09:01:12 CDT 2015
Module: wine
Branch: master
Commit: 89d3f08ca247697d41099772d87e4b4230faab06
URL: http://source.winehq.org/git/wine.git/?a=commit;h=89d3f08ca247697d41099772d87e4b4230faab06
Author: Bruno Jesus <00cpxxx at gmail.com>
Date: Sun Aug 9 00:11:35 2015 +0800
iphlpapi: Add a stub for SetPerTcpConnectionEStats.
---
dlls/iphlpapi/iphlpapi.spec | 2 +-
dlls/iphlpapi/iphlpapi_main.c | 12 ++++++++++++
2 files changed, 13 insertions(+), 1 deletion(-)
diff --git a/dlls/iphlpapi/iphlpapi.spec b/dlls/iphlpapi/iphlpapi.spec
index d98d5c0..50ea35b 100644
--- a/dlls/iphlpapi/iphlpapi.spec
+++ b/dlls/iphlpapi/iphlpapi.spec
@@ -285,7 +285,7 @@
#@ stub SetNetworkInformation
#@ stub SetPerTcp6ConnectionEStats
#@ stub SetPerTcp6ConnectionStats
-#@ stub SetPerTcpConnectionEStats
+@ stdcall SetPerTcpConnectionEStats( ptr long ptr long long long )
#@ stub SetPerTcpConnectionStats
@ stub SetProxyArpEntryToStack
@ stub SetRouteWithRef
diff --git a/dlls/iphlpapi/iphlpapi_main.c b/dlls/iphlpapi/iphlpapi_main.c
index e8daa8c..2efabd3 100644
--- a/dlls/iphlpapi/iphlpapi_main.c
+++ b/dlls/iphlpapi/iphlpapi_main.c
@@ -53,6 +53,7 @@
#include "fltdefs.h"
#include "ifdef.h"
#include "netioapi.h"
+#include "tcpestats.h"
#include "wine/debug.h"
#include "wine/unicode.h"
@@ -2708,6 +2709,17 @@ DWORD WINAPI SetTcpEntry(PMIB_TCPROW pTcpRow)
return 0;
}
+/******************************************************************
+ * SetPerTcpConnectionEStats (IPHLPAPI.@)
+ */
+DWORD WINAPI SetPerTcpConnectionEStats(PMIB_TCPROW row, TCP_ESTATS_TYPE state, PBYTE rw,
+ ULONG version, ULONG size, ULONG offset)
+{
+ FIXME("(row %p, state %d, rw %p, version %u, size %u, offset %u): stub\n",
+ row, state, rw, version, size, offset);
+ return ERROR_NOT_SUPPORTED;
+}
+
/******************************************************************
* UnenableRouter (IPHLPAPI.@)
More information about the wine-cvs
mailing list