[WTSAPI32][PSDK] Addendum to 27ed609a: Some of the WTS_INFO_CLASS values are NT6...
[reactos.git] / sdk / include / psdk / icmpapi.h
1 /*
2 * Interface to the ICMP functions.
3 *
4 * Copyright (C) 1999 Francois Gouget
5 *
6 * This library is free software; you can redistribute it and/or
7 * modify it under the terms of the GNU Lesser General Public
8 * License as published by the Free Software Foundation; either
9 * version 2.1 of the License, or (at your option) any later version.
10 *
11 * This library is distributed in the hope that it will be useful,
12 * but WITHOUT ANY WARRANTY; without even the implied warranty of
13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
14 * Lesser General Public License for more details.
15 *
16 * You should have received a copy of the GNU Lesser General Public
17 * License along with this library; if not, write to the Free Software
18 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
19 */
20
21 #ifndef __WINE_ICMPAPI_H
22 #define __WINE_ICMPAPI_H
23
24 #ifdef __cplusplus
25 extern "C" {
26 #endif
27
28 HANDLE WINAPI IcmpCreateFile(
29 VOID
30 );
31
32 HANDLE WINAPI Icmp6CreateFile(
33 VOID
34 );
35
36 BOOL WINAPI IcmpCloseHandle(
37 HANDLE IcmpHandle
38 );
39
40 DWORD WINAPI IcmpSendEcho(
41 HANDLE IcmpHandle,
42 IPAddr DestinationAddress,
43 LPVOID RequestData,
44 WORD RequestSize,
45 PIP_OPTION_INFORMATION RequestOptions,
46 LPVOID ReplyBuffer,
47 DWORD ReplySize,
48 DWORD Timeout
49 );
50
51 DWORD
52 WINAPI
53 IcmpSendEcho2(
54 HANDLE IcmpHandle,
55 HANDLE Event,
56 FARPROC ApcRoutine,
57 PVOID ApcContext,
58 IPAddr DestinationAddress,
59 LPVOID RequestData,
60 WORD RequestSize,
61 PIP_OPTION_INFORMATION RequestOptions,
62 LPVOID ReplyBuffer,
63 DWORD ReplySize,
64 DWORD Timeout
65 );
66
67 DWORD
68 WINAPI
69 Icmp6SendEcho2(
70 HANDLE IcmpHandle,
71 HANDLE Event,
72 FARPROC ApcRoutine,
73 PVOID ApcContext,
74 struct sockaddr_in6 *SourceAddress,
75 struct sockaddr_in6 *DestinationAddress,
76 LPVOID RequestData,
77 WORD RequestSize,
78 PIP_OPTION_INFORMATION RequestOptions,
79 LPVOID ReplyBuffer,
80 DWORD ReplySize,
81 DWORD Timeout
82 );
83
84 DWORD
85 WINAPI
86 IcmpParseReplies(
87 LPVOID ReplyBuffer,
88 DWORD ReplySize
89 );
90
91 DWORD
92 WINAPI
93 Icmp6ParseReplies(
94 LPVOID ReplyBuffer,
95 DWORD ReplySize
96 );
97
98 #ifdef __cplusplus
99 }
100 #endif
101
102
103 #endif /* __WINE_ICMPAPI_H */