InternetConnectUrlInternetConnectUrl*
*Contents  *Index  *Topic Contents
*Previous Topic: Macros
*Next Topic: Data Types

InternetConnectUrl

InternetConnectUrl (hInternet, lpszUrl, dwFlags, dwContext) \
    InternetConnect(hInternet, lpszUrl, INTERNET_INVALID_PORT_NUMBER, NULL, NULL, 
        INTERNET_SERVICE_URL, dwFlags, dwContext)

Allows the use of a URL instead of supplying the component parts to InternetConnect

hInternet
HINTERNET handle returned by InternetOpen.
lpszUrl
String value containing the URL to connect to.
dwFlags
Flags specific to the service used. When the value of dwService is INTERNET_SERVICE_FTP, INTERNET_FLAG_PASSIVE causes the application to use passive FTP semantics.
dwContext
Application-defined value that is used to identify the application context for the returned handle in callbacks.

Up Top of Page
© 1997 Microsoft Corporation. All rights reserved. Terms of Use.