ReactOS Fundraising Campaign 2012
 
€ 4,410 / € 30,000

Information | Donate

Home | Info | Community | Development | myReactOS | Contact Us

  1. Home
  2. Community
  3. Development
  4. myReactOS
  5. Fundraiser 2012

  1. Main Page
  2. Alphabetical List
  3. Data Structures
  4. Directories
  5. File List
  6. Data Fields
  7. Globals
  8. Related Pages

ReactOS Development > Doxygen

netioapi.h
Go to the documentation of this file.
00001 #ifndef _NETIOAPI_H_
00002 #define _NETIOAPI_H_
00003 
00004 #ifdef __cplusplus
00005 extern "C" {
00006 #endif
00007 
00008 #ifdef _IPHLPAPI_H
00009     #define NETIO_STATUS DWORD
00010     #define NETIOAPI_API_ WINAPI
00011 #else
00012     #define NETIO_STATUS NTSTATUS
00013     #define NETIOAPI_API_ NTAPI
00014 #endif
00015 
00016 #define NETIOAPI_API NETIO_STATUS NETIOAPI_API_
00017 
00018 #ifdef _WS2IPDEF_
00019 #include <ntddndis.h>
00020 #include <ifdef.h>
00021 
00022 typedef struct _MIB_IF_ROW2 {
00023     NET_LUID InterfaceLuid;
00024     NET_IFINDEX InterfaceIndex;
00025     GUID InterfaceGuid;
00026     WCHAR Alias[IF_MAX_STRING_SIZE + 1];
00027     WCHAR Description[IF_MAX_STRING_SIZE + 1];
00028     ULONG PhysicalAddressLength;
00029     UCHAR PhysicalAddress[IF_MAX_PHYS_ADDRESS_LENGTH];
00030     UCHAR PermanentPhysicalAddress[IF_MAX_PHYS_ADDRESS_LENGTH];
00031     ULONG Mtu;
00032     IFTYPE Type;
00033     TUNNEL_TYPE TunnelType;
00034     NDIS_MEDIUM MediaType; 
00035     NDIS_PHYSICAL_MEDIUM PhysicalMediumType; 
00036     NET_IF_ACCESS_TYPE AccessType;
00037     NET_IF_DIRECTION_TYPE DirectionType;
00038     struct {
00039         BOOLEAN HardwareInterface : 1;
00040         BOOLEAN FilterInterface : 1;
00041         BOOLEAN ConnectorPresent : 1;
00042         BOOLEAN NotAuthenticated : 1;
00043         BOOLEAN NotMediaConnected : 1;
00044         BOOLEAN Paused : 1;
00045         BOOLEAN LowPower : 1;
00046         BOOLEAN EndPointInterface : 1;
00047     } InterfaceAndOperStatusFlags;
00048     IF_OPER_STATUS OperStatus;
00049     NET_IF_ADMIN_STATUS AdminStatus;
00050     NET_IF_MEDIA_CONNECT_STATE MediaConnectState;
00051     NET_IF_NETWORK_GUID NetworkGuid;
00052     NET_IF_CONNECTION_TYPE ConnectionType;
00053     ULONG64 TransmitLinkSpeed;
00054     ULONG64 ReceiveLinkSpeed;
00055     ULONG64 InOctets;
00056     ULONG64 InUcastPkts;
00057     ULONG64 InNUcastPkts;
00058     ULONG64 InDiscards;
00059     ULONG64 InErrors;
00060     ULONG64 InUnknownProtos;
00061     ULONG64 InUcastOctets;
00062     ULONG64 InMulticastOctets;
00063     ULONG64 InBroadcastOctets;
00064     ULONG64 OutOctets;
00065     ULONG64 OutUcastPkts;
00066     ULONG64 OutNUcastPkts;
00067     ULONG64 OutDiscards;
00068     ULONG64 OutErrors;
00069     ULONG64 OutUcastOctets;
00070     ULONG64 OutMulticastOctets;
00071     ULONG64 OutBroadcastOctets;
00072     ULONG64 OutQLen;
00073 } MIB_IF_ROW2, *PMIB_IF_ROW2;
00074 
00075 typedef struct _MIB_IF_TABLE2
00076 {
00077     ULONG NumEntries;
00078     MIB_IF_ROW2 Table[1];
00079 } MIB_IF_TABLE2, *PMIB_IF_TABLE2;
00080 
00081 NETIOAPI_API GetIfEntry2(IN OUT PMIB_IF_ROW2 Row);
00082 NETIOAPI_API GetIfTable2(OUT PMIB_IF_TABLE2 *Table);
00083 
00084 #endif
00085 
00086 #ifdef __cplusplus
00087 }
00088 #endif
00089 
00090 #endif

Generated on Sat May 26 2012 04:30:50 for ReactOS by doxygen 1.7.6.1

ReactOS is a registered trademark or a trademark of ReactOS Foundation in the United States and other countries.