Add needed defines for Vista network api
[reactos.git] / reactos / include / psdk / netioapi.h
index 3088423..68c1f52 100644 (file)
@@ -17,6 +17,7 @@ extern "C" {
 
 #ifdef _WS2IPDEF_
 #include <ntddndis.h>
+#include <ifdef.h>
 
 typedef struct _MIB_IF_ROW2 {
     NET_LUID InterfaceLuid;
@@ -71,8 +72,14 @@ typedef struct _MIB_IF_ROW2 {
     ULONG64 OutQLen;
 } MIB_IF_ROW2, *PMIB_IF_ROW2;
 
+typedef struct _MIB_IF_TABLE2
+{
+    ULONG NumEntries;
+    MIB_IF_ROW2 Table[1];
+} MIB_IF_TABLE2, *PMIB_IF_TABLE2;
 
 NETIOAPI_API GetIfEntry2(IN OUT PMIB_IF_ROW2 Row);
+NETIOAPI_API GetIfTable2(OUT PMIB_IF_TABLE2 *Table);
 
 #endif