VirtualBox

source: vbox/trunk/src/VBox/Additions/WINNT/Graphics/Wine/include/iphlpapi.h@ 30705

Last change on this file since 30705 was 28475, checked in by vboxsync, 15 years ago

crOpenGL: update to wine 1.1.43

  • Property svn:eol-style set to native
File size: 4.9 KB
Line 
1/* WINE iphlpapi.h
2 * Copyright (C) 2003 Juan Lang
3 *
4 * This library is free software; you can redistribute it and/or
5 * modify it under the terms of the GNU Lesser General Public
6 * License as published by the Free Software Foundation; either
7 * version 2.1 of the License, or (at your option) any later version.
8 *
9 * This library is distributed in the hope that it will be useful,
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of
11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
12 * Lesser General Public License for more details.
13 *
14 * You should have received a copy of the GNU Lesser General Public
15 * License along with this library; if not, write to the Free Software
16 * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
17 */
18
19/*
20 * Sun LGPL Disclaimer: For the avoidance of doubt, except that if any license choice
21 * other than GPL or LGPL is available it will apply instead, Sun elects to use only
22 * the Lesser General Public License version 2.1 (LGPLv2) at this time for any software where
23 * a choice of LGPL license versions is made available with the language indicating
24 * that LGPLv2 or any later version may be used, or where a choice of which version
25 * of the LGPL is applied is otherwise unspecified.
26 */
27
28#ifndef WINE_IPHLPAPI_H__
29#define WINE_IPHLPAPI_H__
30
31#ifdef __cplusplus
32extern "C" {
33#endif
34
35#include <iprtrmib.h>
36#include <ipexport.h>
37#include <iptypes.h>
38
39DWORD WINAPI GetNumberOfInterfaces(PDWORD pdwNumIf);
40
41DWORD WINAPI GetIfEntry(PMIB_IFROW pIfRow);
42
43DWORD WINAPI GetIfTable(PMIB_IFTABLE pIfTable, PULONG pdwSize, BOOL bOrder);
44
45DWORD WINAPI GetIpAddrTable(PMIB_IPADDRTABLE pIpAddrTable, PULONG pdwSize,
46 BOOL bOrder);
47
48DWORD WINAPI GetIpNetTable(PMIB_IPNETTABLE pIpNetTable, PULONG pdwSize,
49 BOOL bOrder);
50
51DWORD WINAPI GetIpForwardTable(PMIB_IPFORWARDTABLE pIpForwardTable,
52 PULONG pdwSize, BOOL bOrder);
53
54DWORD WINAPI GetTcpTable(PMIB_TCPTABLE pTcpTable, PDWORD pdwSize, BOOL bOrder);
55
56DWORD WINAPI GetUdpTable(PMIB_UDPTABLE pUdpTable, PDWORD pdwSize, BOOL bOrder);
57
58DWORD WINAPI GetIpStatistics(PMIB_IPSTATS pStats);
59
60DWORD WINAPI GetIpStatisticsEx(PMIB_IPSTATS pStats, DWORD dwFamily);
61
62DWORD WINAPI GetIcmpStatistics(PMIB_ICMP pStats);
63
64DWORD WINAPI GetTcpStatistics(PMIB_TCPSTATS pStats);
65
66DWORD WINAPI GetTcpStatisticsEx(PMIB_TCPSTATS pStats, DWORD dwFamily);
67
68DWORD WINAPI GetUdpStatistics(PMIB_UDPSTATS pStats);
69
70DWORD WINAPI GetUdpStatisticsEx(PMIB_UDPSTATS pStats, DWORD dwFamily);
71
72DWORD WINAPI SetIfEntry(PMIB_IFROW pIfRow);
73
74DWORD WINAPI CreateIpForwardEntry(PMIB_IPFORWARDROW pRoute);
75
76DWORD WINAPI SetIpForwardEntry(PMIB_IPFORWARDROW pRoute);
77
78DWORD WINAPI DeleteIpForwardEntry(PMIB_IPFORWARDROW pRoute);
79
80DWORD WINAPI SetIpStatistics(PMIB_IPSTATS pIpStats);
81
82DWORD WINAPI SetIpTTL(UINT nTTL);
83
84DWORD WINAPI CreateIpNetEntry(PMIB_IPNETROW pArpEntry);
85
86DWORD WINAPI SetIpNetEntry(PMIB_IPNETROW pArpEntry);
87
88DWORD WINAPI DeleteIpNetEntry(PMIB_IPNETROW pArpEntry);
89
90DWORD WINAPI FlushIpNetTable(DWORD dwIfIndex);
91
92DWORD WINAPI CreateProxyArpEntry(DWORD dwAddress, DWORD dwMask,
93 DWORD dwIfIndex);
94
95DWORD WINAPI DeleteProxyArpEntry(DWORD dwAddress, DWORD dwMask,
96 DWORD dwIfIndex);
97
98DWORD WINAPI SetTcpEntry(PMIB_TCPROW pTcpRow);
99
100DWORD WINAPI GetInterfaceInfo(PIP_INTERFACE_INFO pIfTable, PULONG dwOutBufLen);
101
102DWORD WINAPI GetUniDirectionalAdapterInfo(
103 PIP_UNIDIRECTIONAL_ADAPTER_ADDRESS pIPIfInfo, PULONG dwOutBufLen);
104
105DWORD WINAPI GetBestInterface(IPAddr dwDestAddr, PDWORD pdwBestIfIndex);
106
107#ifdef __WINE_WINSOCKAPI_STDLIB_H
108DWORD WINAPI GetBestInterfaceEx(
109#ifdef USE_WS_PREFIX
110 struct WS_sockaddr *pDestAddr,
111#else
112 struct sockaddr *pDestAddr,
113#endif
114 PDWORD pdwBestIfIndex);
115#endif
116
117DWORD WINAPI GetBestRoute(DWORD dwDestAddr, DWORD dwSourceAddr,
118 PMIB_IPFORWARDROW pBestRoute);
119
120DWORD WINAPI NotifyAddrChange(PHANDLE Handle, LPOVERLAPPED overlapped);
121
122DWORD WINAPI NotifyRouteChange(PHANDLE Handle, LPOVERLAPPED overlapped);
123
124DWORD WINAPI GetAdapterIndex(IN LPWSTR AdapterName, OUT PULONG IfIndex);
125
126DWORD WINAPI AddIPAddress(IPAddr Address, IPMask IpMask, DWORD IfIndex,
127 PULONG NTEContext, PULONG NTEInstance);
128
129DWORD WINAPI DeleteIPAddress(ULONG NTEContext);
130
131DWORD WINAPI GetNetworkParams(PFIXED_INFO pFixedInfo, PULONG pOutBufLen);
132
133DWORD WINAPI GetAdaptersInfo(PIP_ADAPTER_INFO pAdapterInfo, PULONG pOutBufLen);
134
135DWORD WINAPI GetPerAdapterInfo(ULONG IfIndex,
136 PIP_PER_ADAPTER_INFO pPerAdapterInfo, PULONG pOutBufLen);
137
138DWORD WINAPI IpReleaseAddress(PIP_ADAPTER_INDEX_MAP AdapterInfo);
139
140DWORD WINAPI IpRenewAddress(PIP_ADAPTER_INDEX_MAP AdapterInfo);
141
142DWORD WINAPI SendARP(IPAddr DestIP, IPAddr SrcIP, PULONG pMacAddr,
143 PULONG PhyAddrLen);
144
145BOOL WINAPI GetRTTAndHopCount(IPAddr DestIpAddress, PULONG HopCount,
146 ULONG MaxHops, PULONG RTT);
147
148DWORD WINAPI GetFriendlyIfIndex(DWORD IfIndex);
149
150DWORD WINAPI EnableRouter(HANDLE* pHandle, OVERLAPPED* pOverlapped);
151
152DWORD WINAPI UnenableRouter(OVERLAPPED* pOverlapped, LPDWORD lpdwEnableCount);
153
154#ifdef __cplusplus
155}
156#endif
157
158#endif /* WINE_IPHLPAPI_H__ */
Note: See TracBrowser for help on using the repository browser.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette