InternetAutodial function (wininet.h)
Causes the modem to automatically dial the default Internet connection.
Syntax
BOOL InternetAutodial(
[in] DWORD dwFlags,
[in] HWND hwndParent
);
Parameters
[in] dwFlags
Controls this operation. This parameter can be one of the following values.
[in] hwndParent
Handle to the parent window.
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
InternetAutodial does not support double-dial connections, SmartCard authentication, or connections that require registry-based certification.
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.
Requirements
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 |
See also
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for