#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.
*/
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);
*/
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_ */