共用方式為


InternetGoOnline

A version of this page is also available for

Windows Embedded CE 6.0 R3

4/8/2010

This function prompts the user for permission to initiate connection to a URL.

Syntax

BOOL InternetGoOnline(
  LPTSTR lpszURL,
  HWND hwndParent,
  DWORD dwReserved
);

Parameters

  • lpszURL
    [in] Address of a string variable containing the URL of the Web site to connect to.
  • hwndParent
    [in] Handle to the parent window.
  • dwReserved
    [in] Reserved. Must be set to zero.

Return Value

Returns TRUE if successful, or FALSE otherwise.

Requirements

Header wininet.h
Library wininet.lib
Windows Embedded CE Windows CE 2.12 and later
Windows Mobile Windows Mobile Version 5.0 and later

See Also

Reference

WinInet Functions