Skip to content

Latest commit

 

History

History
53 lines (37 loc) · 1.07 KB

InternetGoOnline.md

File metadata and controls

53 lines (37 loc) · 1.07 KB

Home

Function name : InternetGoOnline

Group: Internet Functions (WinInet) - Library: wininet


Prompts the user for permission to initiate connection to a URL.


Code examples:

Using InternetGoOnline function
Another way to go online (it is not about choosing an ISP)

Declaration:

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

FoxPro declaration:

DECLARE SHORT InternetGoOnline IN wininet;
	STRING  lpszURL,;
	INTEGER hwndParent,;
	INTEGER dwReserved  

Parameters:

lpszURL [in] Pointer to 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.