InternetAutodialHangup function (wininet.h)
Disconnects an automatic dial-up connection.
BOOL InternetAutodialHangup(
[in] DWORD dwReserved
);
[in] dwReserved
This parameter is reserved and must be 0.
If the function succeeds, it returns TRUE.
If the function fails, it returns FALSE. Applications can call GetLastError to retrieve the error code.
InternetAutoDialHangup returns TRUE if autodial is not enabled, or if autodial is enabled but does not have an entry configured on the computer.
Like all other aspects of the WinINet API, this function cannot be safely called from within DllMain or the constructors and destructors of global objects.
Requirement | Value |
---|---|
Minimum supported client | Windows 2000 Professional [desktop apps only] |
Minimum supported server | Windows 2000 Server [desktop apps only] |
Target Platform | Windows |
Header | wininet.h (include Wininet.h) |
Library | Wininet.lib |
DLL | Wininet.dll |