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.
Requirements
| Minimum supported client | Windows 2000 Professional |
| Minimum supported server | Windows 2000 Server |
| Version | Internet Explorer 4.0 or later |
| Header | Wininet.h |
| Library | Wininet.lib |
| DLL | Wininet.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