Commit 870a9fcb authored by Alex Henrie's avatar Alex Henrie Committed by Alexandre Julliard

iphlpapi: Add GetPerTcpConnectionEStats stub.

Based on a patch by Austin English. Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=52868
parent 0336d66e
......@@ -130,7 +130,7 @@
@ stdcall GetPerAdapterInfo( long ptr ptr )
#@ stub GetPerTcp6ConnectionEStats
#@ stub GetPerTcp6ConnectionStats
#@ stub GetPerTcpConnectionEStats
@ stdcall GetPerTcpConnectionEStats( ptr long ptr long long ptr long long ptr long long )
#@ stub GetPerTcpConnectionStats
@ stdcall GetRTTAndHopCount( long ptr long ptr )
#@ stub GetSessionCompartmentId
......
......@@ -32,7 +32,6 @@
#include "fltdefs.h"
#include "ifdef.h"
#include "netioapi.h"
#include "tcpestats.h"
#include "ip2string.h"
#include "netiodef.h"
#include "icmpapi.h"
......@@ -4031,6 +4030,19 @@ DWORD WINAPI SetTcpEntry(PMIB_TCPROW pTcpRow)
return 0;
}
/***********************************************************************
* GetPerTcpConnectionEStats (IPHLPAPI.@)
*/
ULONG WINAPI GetPerTcpConnectionEStats(MIB_TCPROW *row, TCP_ESTATS_TYPE stats, UCHAR *rw, ULONG rw_version,
ULONG rw_size, UCHAR *ro_static, ULONG ro_static_version,
ULONG ro_static_size, UCHAR *ro_dynamic, ULONG ro_dynamic_version,
ULONG ro_dynamic_size)
{
FIXME( "(%p, %d, %p, %ld, %ld, %p, %ld, %ld, %p, %ld, %ld): stub\n", row, stats, rw, rw_version, rw_size,
ro_static, ro_static_version, ro_static_size, ro_dynamic, ro_dynamic_version, ro_dynamic_size );
return ERROR_CALL_NOT_IMPLEMENTED;
}
/******************************************************************
* SetPerTcpConnectionEStats (IPHLPAPI.@)
*/
......
......@@ -25,6 +25,7 @@ extern "C" {
#include <iprtrmib.h>
#include <ipexport.h>
#include <iptypes.h>
#include <tcpestats.h>
#define NET_STRING_IPV4_ADDRESS 0x00000001
#define NET_STRING_IPV4_SERVICE 0x00000002
......@@ -85,6 +86,11 @@ DWORD WINAPI GetTcpStatistics(PMIB_TCPSTATS pStats);
DWORD WINAPI GetTcpStatisticsEx(PMIB_TCPSTATS pStats, DWORD dwFamily);
ULONG WINAPI GetPerTcpConnectionEStats(MIB_TCPROW *row, TCP_ESTATS_TYPE stats, UCHAR *rw, ULONG rw_version,
ULONG rw_size, UCHAR *ro_static, ULONG ro_static_version,
ULONG ro_static_size, UCHAR *ro_dynamic, ULONG ro_dynamic_version,
ULONG ro_dynamic_size);
DWORD WINAPI GetUdpStatistics(PMIB_UDPSTATS pStats);
DWORD WINAPI GetUdpStatisticsEx(PMIB_UDPSTATS pStats, DWORD dwFamily);
......@@ -99,6 +105,9 @@ DWORD WINAPI DeleteIpForwardEntry(PMIB_IPFORWARDROW pRoute);
DWORD WINAPI SetIpStatistics(PMIB_IPSTATS pIpStats);
DWORD WINAPI SetPerTcpConnectionEStats(MIB_TCPROW *row, TCP_ESTATS_TYPE state, BYTE *rw,
ULONG version, ULONG size, ULONG offset);
DWORD WINAPI SetIpTTL(UINT nTTL);
DWORD WINAPI CreateIpNetEntry(PMIB_IPNETROW pArpEntry);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment