SmtpUninitialize

VOID SmtpUninitialize();

The SmtpUninitialize function terminates the use of the library.

Parameters

There are no parameters.

Return Value

None.

Remarks

An application is required to perform a successful SmtpInitialize call before it can call any of the other library functions. When it has completed the use of library, the application must call SmtpUninitialize 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 SmtpUninitialize for every successful call to SmtpInitialize made by a process. In a multithreaded environment, operations for all threads in the client are terminated.

Requirements

Client: Requires Windows Vista, Windows XP or Windows 2000 Professional.
Server: Requires Windows Server 2008, Windows Server 2003 or Windows 2000 Server.
Header: Include cstools6.h.
Library: Use csmtpav6.lib.

See Also

SmtpAsyncConnect, SmtpConnect, SmtpDisconnect, SmtpInitialize, SmtpInitializeEx


Copyright © 2008 Catalyst Development Corporation. All rights reserved.