Share via


AutoDialEndConnection

Other versions of this page are also available for the following:

Windows Mobile Not SupportedWindows Embedded CE Supported

8/28/2008

This function terminates the connection that was established with auto dial and frees the associated resources. Use this function to terminate a session prematurely.

Syntax

DWORD AutoDialEndConnection(void);

Parameters

None.

Return Value

If no error occurs, this function returns a value of ERROR_SUCCESS.

The following table shows the values that are returned if an error occurs.

Error value Description

ERROR_ALREADY_DISCONNECTING

Another thread is disconnecting.

ERROR_NO_CONNECTION

There is no auto dial connection to terminate. It may have already been terminated.

Requirements

Header autodial.h
Library Autodial.lib
Windows Embedded CE Windows CE .NET 4.0 and later

See Also

Reference

ICS Functions