IcmpUninitialize Function  
 
VOID WINAPI IcmpUninitialize();

The IcmpUninitialize function terminates the use of the library.

Parameters

There are no parameters.

Return Value

None.

Remarks

An application is required to perform a successful IcmpInitialize call before it can call any of the other the library functions. When it has completed the use of library, the application must call IcmpUninitialize to allow the library to free any resources allocated on behalf of the process. Any pending blocking or asynchronous calls in this process are canceled without posting any notification messages, and all sockets that were opened by the process are closed.

There must be a call to IcmpUninitialize for every successful call to IcmpInitialize made by a process. In a multithreaded environment, operations for all threads in the client are terminated.

Requirements

Client: Requires Windows 7, Windows Vista or Windows XP.
Server: Requires Windows Server 2008 or Windows Server 2003.
Header: Include cstools7.h.
Library: Use csicmav7.lib.

See Also

IcmpCloseHandle, IcmpCreateHandle, IcmpInitialize