Click to Rate and Give Feedback
MSDN
MSDN Library
Networking
Network Protocols
Windows Internet
WinINet Reference
WinINet Functions
 InternetHangUp Function
InternetHangUp Function

Instructs the modem to disconnect from the Internet.

Syntax

C++
DWORD InternetHangUp(
  __in  DWORD_PTR dwConnection,
  __in  DWORD dwReserved
);

Parameters

dwConnection [in]

Connection number of the connection to be disconnected.

dwReserved [in]

This parameter is reserved and must be 0.

Return Value

Returns ERROR_SUCCESS if successful, or an error value otherwise.

Requirements

Minimum supported clientWindows 2000 Professional
Minimum supported serverWindows 2000 Server
VersionInternet Explorer 4.0 or later
HeaderWininet.h
LibraryWininet.lib
DLLWininet.dll

See Also

Establishing a Dial-Up Connection to the Internet
WinINet Functions

Send comments about this topic to Microsoft

Build date: 11/19/2009

Tags What's this?: Add a tag
Community Content   What is Community Content?
Add new content RSS  Annotations
Processing
© 2009 Microsoft Corporation. All rights reserved. Terms of Use | Trademarks | Privacy Statement
Page view tracker