 |
InternetOpenUrl ..msdn Add comment W32 Constants Translate this page |
 |
 |
|
Opens a resource specified by a complete FTP, Gopher, or HTTP URL. |
 |
 |
| Code examples: |
 |
|
|
 |
 |
| Declaration: |
 |
 |
HINTERNET InternetOpenUrl(
HINTERNET hInternet,
LPCTSTR lpszUrl,
LPCTSTR lpszHeaders,
DWORD dwHeadersLength,
DWORD dwFlags,
DWORD_PTR dwContext
);
|
 |
 |
 |
| FoxPro declaration: |
 |
 |
DECLARE INTEGER InternetOpenUrl IN wininet;
INTEGER hInternet,;
STRING lpszUrl,;
STRING lpszHeaders,;
INTEGER dwHeadersLength,;
INTEGER dwFlags,;
INTEGER dwContext
|
 |
 |
 |
| Parameters: |
 |
hInternet
[in] HINTERNET handle to the current Internet session. The handle must have been returned by a previous call to InternetOpen.
lpszUrl
[in] Pointer to a string variable that contains the URL to begin reading.
lpszHeaders
[in] Pointer to a string variable that contains the headers to be sent to the HTTP server.
dwHeadersLength
[in] Unsigned long integer value that contains the length, in TCHARs, of the additional headers.
dwFlags
[in] Unsigned long integer value that contains the API flags.
dwContext
[in] Pointer to an unsigned long integer value that contains the application-defined value. |
 |
 |
| Return value: |
 |
| Returns a valid handle to the FTP, Gopher, or HTTP URL if the connection is successfully established, or NULL if the connection fails. |
 |
 |
| My comment: |
 |
| Use this function to download the archive with this reference data (see the example). |
 |
 |
| Word Index links for the InternetOpenUrl : |
 |
|
|
 |
 |
| Translate this page: |
 |
|
 |
 |
| • |
 |
| Created: | 2001-08-17 12:00:00 | | Modified: | 2001-11-26 16:03:15 | Visited in last 7 days: 34 |