Click to return to the Networking, Protocols     
InternetGoOnline Function     InternetSetDialState Func...     Automatic Dialing Functio...    
Web Workshop  |  Networking, Protocols & Data Formats

InternetHangUp Function


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



Back to topBack to top

Did you find this topic useful? Suggestions for other topics? Write us!

© 1999 Microsoft Corporation. All rights reserved. Terms of use.