Expand Minimize
This topic has not yet been rated - Rate this topic

InternetAutodialHangup function

Disconnects an automatic dial-up connection.

Syntax


BOOL InternetAutodialHangup(
  _In_  DWORD dwReserved
);

Parameters

dwReserved [in]

This parameter is reserved and must be 0.

Return value

If the function succeeds, it returns TRUE.

If the function fails, it returns FALSE. Applications can call GetLastError to retrieve the error code.

Remarks

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.

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 [desktop apps only]

Minimum supported server

Windows 2000 Server [desktop apps only]

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: 10/26/2012

Did you find this helpful?
(1500 characters remaining)

Community Additions

ADD
© 2013 Microsoft. All rights reserved.