IcmpCreateFile

The IcmpCreateFile function creates a handle on which ICMP requests can be issued.

Syntax

HANDLE WINAPI IcmpCreateFile (VOID);

At a Glance

Header file: Icmpapi.h
Platforms: H/PC
Versions: 2.0 and later

Parameters

None.

Return Values

Returns an ICMP handle if successful, INVALID_HANDLE_VALUE if not. Extended error information is available by calling GetLastError.

See Also

GetLastError