The IcmpCreateFile function creates a handle on which ICMP requests can be issued.
HANDLE WINAPI IcmpCreateFile (VOID);
Header file: | Icmpapi.h |
Platforms: | H/PC |
Versions: | 2.0 and later |
None.
Returns an ICMP handle if successful, INVALID_HANDLE_VALUE if not. Extended error information is available by calling GetLastError.