[IPHLPAPI] Implement the *_TABLE_OWNER_MODULE_* in GetExtendedTcp/UdpTable() functions
[reactos.git] / dll / win32 / iphlpapi / ipstats.h
index 2aa6b0e..6becd00 100644 (file)
 #ifndef WINE_IPSTATS_H_
 #define WINE_IPSTATS_H_
 
-#include <stdarg.h>
+//#include <stdarg.h>
 
-#include "windef.h"
-#include "winbase.h"
-#include "iprtrmib.h"
+//#include "windef.h"
+//#include "winbase.h"
+//#include "iprtrmib.h"
 
 /* Fills in entry's interface stats, using name to find them.
  * Returns ERROR_INVALID_PARAMETER if name or entry is NULL, NO_ERROR otherwise.
@@ -97,6 +97,16 @@ DWORD getNumUdpEntries(void);
  */
 PMIB_UDPTABLE getUdpTable(void);
 
+/* Allocates and returns to you the UDP state table with owner PID,
+ * or NULL if it can't allocate enough memory.  free() the returned table.
+ */
+PMIB_UDPTABLE_OWNER_PID getOwnerUdpTable(void);
+
+/* Allocates and returns to you the UDP state table with module info,
+ * or NULL if it can't allocate enough memory.  free() the returned table.
+ */
+PMIB_UDPTABLE_OWNER_MODULE getOwnerModUdpTable(void);
+
 /* Returns the number of entries in the TCP state table. */
 DWORD getNumTcpEntries(void);
 
@@ -105,4 +115,14 @@ DWORD getNumTcpEntries(void);
  */
 PMIB_TCPTABLE getTcpTable(void);
 
+/* Allocates and returns to you the TCP state table with owner PID,
+ * or NULL if it can't allocate enough memory.  free() the returned table.
+ */
+PMIB_TCPTABLE_OWNER_PID getOwnerTcpTable(void);
+
+/* Allocates and returns to you the TCP state table with module info,
+ * or NULL if it can't allocate enough memory.  free() the returned table.
+ */
+PMIB_TCPTABLE_OWNER_MODULE getOwnerModTcpTable(void);
+
 #endif /* ndef WINE_IPSTATS_H_ */