Export (0) Print
Expand All
Expand Minimize
This topic has not yet been rated - Rate this topic

InternetHangUp function

Instructs the modem to disconnect from the Internet.

Syntax


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.

Remarks

Note  WinINet does not support server implementations. In addition, it should not be used from a service. For server implementations or services use Microsoft Windows HTTP Services (WinHTTP).

Requirements

Minimum supported client

Windows 2000 Professional

Minimum supported server

Windows 2000 Server

Header

Wininet.h

Library

Wininet.lib

DLL

Wininet.dll

See also

Establishing a Dial-Up Connection to the Internet
WinINet Functions

 

 

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft. All rights reserved.