Francois Gouget | edf3e43 | 1999-11-07 21:22:17 +0000 | [diff] [blame] | 1 | /* |
| 2 | * Interface to the ICMP functions. |
| 3 | * |
Alexandre Julliard | 0799c1a | 2002-03-09 23:29:33 +0000 | [diff] [blame] | 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., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA |
Francois Gouget | edf3e43 | 1999-11-07 21:22:17 +0000 | [diff] [blame] | 19 | */ |
| 20 | |
| 21 | #ifndef __WINE_ICMPAPI_H |
| 22 | #define __WINE_ICMPAPI_H |
| 23 | |
Patrik Stridvall | bbaf0ea | 2000-03-24 21:13:57 +0000 | [diff] [blame] | 24 | #include "windef.h" |
| 25 | |
Francois Gouget | edf3e43 | 1999-11-07 21:22:17 +0000 | [diff] [blame] | 26 | HANDLE WINAPI IcmpCreateFile( |
| 27 | VOID |
| 28 | ); |
| 29 | |
| 30 | BOOL WINAPI IcmpCloseHandle( |
| 31 | HANDLE IcmpHandle |
| 32 | ); |
| 33 | |
| 34 | DWORD WINAPI IcmpSendEcho( |
| 35 | HANDLE IcmpHandle, |
| 36 | IPAddr DestinationAddress, |
| 37 | LPVOID RequestData, |
| 38 | WORD RequestSize, |
| 39 | PIP_OPTION_INFORMATION RequestOptions, |
| 40 | LPVOID ReplyBuffer, |
| 41 | DWORD ReplySize, |
| 42 | DWORD Timeout |
| 43 | ); |
| 44 | |
| 45 | |
| 46 | #endif /* __WINE_ICMPAPI_H */ |