Export (0) Print
Expand All

AutoDialEndConnection (Compact 2013)

3/26/2014

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


DWORD AutoDialEndConnection(void);

None.

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.

Header

autodial.h

Library

Autodial.lib

Show:
© 2015 Microsoft