Instructs the modem to disconnect from the Internet.
Syntax
DWORD InternetHangUp( IN DWORD dwConnection, IN DWORD dwReserved );
Parameters
- dwConnection
- Unsigned long integer value that contains the number assigned to the connection to be disconnected.
- dwReserved
- Reserved. Must be set to zero.
Return Value
Returns ERROR_SUCCESS if successful, or an error code otherwise.
Function Information
Windows NT Use version 4.0. Implemented only as an ANSI function. Windows Use Windows 95 and later. Implemented only as an ANSI function. Header Wininet.h Import library Wininet.lib Minimum availability Internet Explorer 4.0
See Also
Microsoft Win32 Internet Functions Overview, Establishing a Dial-Up Connection to the Internet, Microsoft Win32 Internet Functions Reference, Automatic Dialing Functions