AutoDialEndConnection (Windows CE 5.0)
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);
Parameters
None.
Return Values
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
OS Versions: Windows CE .NET 4.0 and later.
Header: Autodial.h.
Link Library: Autodial.lib.
See Also
Send Feedback on this topic to the authors