Printer Friendly Version      Send     
Click to Rate and Give Feedback
MSDN
MSDN Library
Windows Embedded
Windows Embedded CE
Windows CE 5.0
Windows CE Features
WinInet Reference
WinInet Functions
 InternetAttemptConnect
Platform Builder for Microsoft Windows CE 5.0
InternetAttemptConnect
Send Feedback

This function attempts to make a connection to the Internet.

DWORD InternetAttemptConnect(
  DWORD dwReserved
);

Parameters

dwReserved
[in] Reserved. Must be set to zero.

Return Values

Returns ERROR_SUCCESS if successful, or a Win32 error value otherwise.

Remarks

This function allows an application to first attempt to connect before issuing any requests. A client program can use this to evoke the dial-up dialog box. If the attempt fails, the application should enter offline mode.

Requirements

OS Versions: Windows CE .NET 4.0 and later.
Header: Wininet.h.
Link Library: Wininet.lib.

See Also

WinInet Functions


Send Feedback on this topic to the authors

Feedback FAQs


© 2008 Microsoft Corporation. All rights reserved. Terms of Use  |  Trademarks  |  Privacy Statement
Page view tracker