RshUninitialize Function  
 
VOID WINAPI RshUninitialize();

The RshUninitialize function terminates the use of the library.

Parameters

There are no parameters.

Return Value

None.

Remarks

An application is required to perform a successful RshInitialize call before it can call any of the other the library functions. When it has completed the use of library, the application must call RshUninitialize 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 RshUninitialize for every successful call to RshInitialize 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 csrshav7.lib.

See Also

RshDisconnect, RshInitialize