Austin English : iphlpapi: Add a stub for GetTcpTable2:.
Alexandre Julliard
julliard at winehq.org
Wed Jan 25 15:14:03 CST 2012
Module: wine
Branch: master
Commit: a52f88096ff1b526f91a45ccae9128a32a36c464
URL: http://source.winehq.org/git/wine.git/?a=commit;h=a52f88096ff1b526f91a45ccae9128a32a36c464
Author: Austin English <austinenglish at gmail.com>
Date: Tue Jan 24 16:02:50 2012 -0800
iphlpapi: Add a stub for GetTcpTable2:.
---
dlls/iphlpapi/iphlpapi.spec | 2 +-
dlls/iphlpapi/iphlpapi_main.c | 9 +++++++++
2 files changed, 10 insertions(+), 1 deletions(-)
diff --git a/dlls/iphlpapi/iphlpapi.spec b/dlls/iphlpapi/iphlpapi.spec
index 3247992..a6662c3 100644
--- a/dlls/iphlpapi/iphlpapi.spec
+++ b/dlls/iphlpapi/iphlpapi.spec
@@ -138,7 +138,7 @@
@ stdcall GetTcpStatistics( ptr )
@ stub GetTcpStatsFromStack
@ stdcall GetTcpTable( ptr ptr long )
-#@ stub GetTcpTable2
+@ stdcall GetTcpTable2( ptr ptr long )
@ stub GetTcpTableFromStack
#@ stub GetTeredoPort
#@ stub GetUdp6Table
diff --git a/dlls/iphlpapi/iphlpapi_main.c b/dlls/iphlpapi/iphlpapi_main.c
index d43f644..ea759ae 100644
--- a/dlls/iphlpapi/iphlpapi_main.c
+++ b/dlls/iphlpapi/iphlpapi_main.c
@@ -2276,3 +2276,12 @@ DWORD WINAPI PfCreateInterface(DWORD dwName, PFFORWARD_ACTION inAction, PFFORWAR
FIXME("(%d %d %d %x %x %p) stub\n", dwName, inAction, outAction, bUseLog, bMustBeUnique, ppInterface);
return ERROR_CALL_NOT_IMPLEMENTED;
}
+
+/******************************************************************
+ * GetTcpTable2 (IPHLPAPI.@)
+ */
+ULONG WINAPI GetTcpTable2(PMIB_TCPTABLE2 table, PULONG size, BOOL order)
+{
+ FIXME("pTcpTable2 %p, pdwSize %p, bOrder %d: stub\n", table, size, order);
+ return ERROR_NOT_SUPPORTED;
+}
More information about the wine-cvs
mailing list