VirtualBox

source: vbox/trunk/src/VBox/Devices/Graphics/shaderlib/wine/include/iphlpapi.h@ 107044

Last change on this file since 107044 was 53206, checked in by vboxsync, 10 years ago

Devices/vmsvga: header fixes

  • Property svn:eol-style set to native
  • Property svn:keywords set to Author Date Id Revision
File size: 5.4 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 * Oracle 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, Oracle 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 GetExtendedTcpTable(PVOID pTcpTable, PDWORD pdwSize, BOOL bOrder,
40 ULONG ulAf, TCP_TABLE_CLASS TableClass, ULONG Reserved);
41
42DWORD WINAPI GetExtendedUdpTable(PVOID pUdpTable, PDWORD pdwSize, BOOL bOrder,
43 ULONG ulAf, UDP_TABLE_CLASS TableClass, ULONG Reserved);
44
45DWORD WINAPI GetNumberOfInterfaces(PDWORD pdwNumIf);
46
47DWORD WINAPI GetIfEntry(PMIB_IFROW pIfRow);
48
49DWORD WINAPI GetIfTable(PMIB_IFTABLE pIfTable, PULONG pdwSize, BOOL bOrder);
50
51DWORD WINAPI GetIpAddrTable(PMIB_IPADDRTABLE pIpAddrTable, PULONG pdwSize,
52 BOOL bOrder);
53
54DWORD WINAPI GetIpNetTable(PMIB_IPNETTABLE pIpNetTable, PULONG pdwSize,
55 BOOL bOrder);
56
57DWORD WINAPI GetIpForwardTable(PMIB_IPFORWARDTABLE pIpForwardTable,
58 PULONG pdwSize, BOOL bOrder);
59
60DWORD WINAPI GetTcpTable(PMIB_TCPTABLE pTcpTable, PDWORD pdwSize, BOOL bOrder);
61
62DWORD WINAPI GetUdpTable(PMIB_UDPTABLE pUdpTable, PDWORD pdwSize, BOOL bOrder);
63
64DWORD WINAPI GetIpStatistics(PMIB_IPSTATS pStats);
65
66DWORD WINAPI GetIpStatisticsEx(PMIB_IPSTATS pStats, DWORD dwFamily);
67
68DWORD WINAPI GetIcmpStatistics(PMIB_ICMP pStats);
69
70DWORD WINAPI GetTcpStatistics(PMIB_TCPSTATS pStats);
71
72DWORD WINAPI GetTcpStatisticsEx(PMIB_TCPSTATS pStats, DWORD dwFamily);
73
74DWORD WINAPI GetUdpStatistics(PMIB_UDPSTATS pStats);
75
76DWORD WINAPI GetUdpStatisticsEx(PMIB_UDPSTATS pStats, DWORD dwFamily);
77
78DWORD WINAPI SetIfEntry(PMIB_IFROW pIfRow);
79
80DWORD WINAPI CreateIpForwardEntry(PMIB_IPFORWARDROW pRoute);
81
82DWORD WINAPI SetIpForwardEntry(PMIB_IPFORWARDROW pRoute);
83
84DWORD WINAPI DeleteIpForwardEntry(PMIB_IPFORWARDROW pRoute);
85
86DWORD WINAPI SetIpStatistics(PMIB_IPSTATS pIpStats);
87
88DWORD WINAPI SetIpTTL(UINT nTTL);
89
90DWORD WINAPI CreateIpNetEntry(PMIB_IPNETROW pArpEntry);
91
92DWORD WINAPI SetIpNetEntry(PMIB_IPNETROW pArpEntry);
93
94DWORD WINAPI DeleteIpNetEntry(PMIB_IPNETROW pArpEntry);
95
96DWORD WINAPI FlushIpNetTable(DWORD dwIfIndex);
97
98DWORD WINAPI CreateProxyArpEntry(DWORD dwAddress, DWORD dwMask,
99 DWORD dwIfIndex);
100
101DWORD WINAPI DeleteProxyArpEntry(DWORD dwAddress, DWORD dwMask,
102 DWORD dwIfIndex);
103
104DWORD WINAPI SetTcpEntry(PMIB_TCPROW pTcpRow);
105
106DWORD WINAPI GetInterfaceInfo(PIP_INTERFACE_INFO pIfTable, PULONG dwOutBufLen);
107
108DWORD WINAPI GetUniDirectionalAdapterInfo(
109 PIP_UNIDIRECTIONAL_ADAPTER_ADDRESS pIPIfInfo, PULONG dwOutBufLen);
110
111DWORD WINAPI GetBestInterface(IPAddr dwDestAddr, PDWORD pdwBestIfIndex);
112
113#ifdef __WINE_WINSOCKAPI_STDLIB_H
114DWORD WINAPI GetBestInterfaceEx(
115#ifdef USE_WS_PREFIX
116 struct WS_sockaddr *pDestAddr,
117#else
118 struct sockaddr *pDestAddr,
119#endif
120 PDWORD pdwBestIfIndex);
121#endif
122
123DWORD WINAPI GetBestRoute(DWORD dwDestAddr, DWORD dwSourceAddr,
124 PMIB_IPFORWARDROW pBestRoute);
125
126DWORD WINAPI NotifyAddrChange(PHANDLE Handle, LPOVERLAPPED overlapped);
127
128DWORD WINAPI NotifyRouteChange(PHANDLE Handle, LPOVERLAPPED overlapped);
129
130BOOL WINAPI CancelIPChangeNotify(LPOVERLAPPED overlapped);
131
132DWORD WINAPI GetAdapterIndex(IN LPWSTR AdapterName, OUT PULONG IfIndex);
133
134DWORD WINAPI AddIPAddress(IPAddr Address, IPMask IpMask, DWORD IfIndex,
135 PULONG NTEContext, PULONG NTEInstance);
136
137DWORD WINAPI DeleteIPAddress(ULONG NTEContext);
138
139DWORD WINAPI GetNetworkParams(PFIXED_INFO pFixedInfo, PULONG pOutBufLen);
140
141DWORD WINAPI GetAdaptersInfo(PIP_ADAPTER_INFO pAdapterInfo, PULONG pOutBufLen);
142
143DWORD WINAPI GetPerAdapterInfo(ULONG IfIndex,
144 PIP_PER_ADAPTER_INFO pPerAdapterInfo, PULONG pOutBufLen);
145
146DWORD WINAPI IpReleaseAddress(PIP_ADAPTER_INDEX_MAP AdapterInfo);
147
148DWORD WINAPI IpRenewAddress(PIP_ADAPTER_INDEX_MAP AdapterInfo);
149
150DWORD WINAPI SendARP(IPAddr DestIP, IPAddr SrcIP, PULONG pMacAddr,
151 PULONG PhyAddrLen);
152
153BOOL WINAPI GetRTTAndHopCount(IPAddr DestIpAddress, PULONG HopCount,
154 ULONG MaxHops, PULONG RTT);
155
156DWORD WINAPI GetFriendlyIfIndex(DWORD IfIndex);
157
158DWORD WINAPI EnableRouter(HANDLE* pHandle, OVERLAPPED* pOverlapped);
159
160DWORD WINAPI UnenableRouter(OVERLAPPED* pOverlapped, LPDWORD lpdwEnableCount);
161
162#ifdef _WINSOCK2API_
163ULONG WINAPI GetAdaptersAddresses(ULONG family, ULONG flags, PVOID reserved,
164 PIP_ADAPTER_ADDRESSES aa, PULONG buflen);
165#endif
166
167#ifdef __cplusplus
168}
169#endif
170
171#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