AutoDialEndConnection (Windows Embedded CE 6.0)
1/6/2010
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 |