UID | title | description | helpviewer_keywords | old-location | tech.root | ms.assetid | ms.date | ms.keywords | req.header | req.include-header | req.target-type | req.target-min-winverclnt | req.target-min-winversvr | req.kmdf-ver | req.umdf-ver | req.ddi-compliance | req.unicode-ansi | req.idl | req.max-support | req.namespace | req.assembly | req.type-library | req.lib | req.dll | req.irql | targetos | req.typenames | req.redist | ms.custom | f1_keywords | dev_langs | topic_type | api_type | api_location | api_name | |||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
NS:wininet.URL_COMPONENTSW |
URL_COMPONENTSW (wininet.h) |
Contains the constituent parts of a URL. This structure is used with the InternetCrackUrl and InternetCreateUrl functions. (Unicode) |
|
wininet\url_components.htm |
wininet |
faebdd29-f746-486b-b779-cceeecac9163 |
12/05/2018 |
*LPURL_COMPONENTSW, LPURL_COMPONENTS, LPURL_COMPONENTS structure pointer [WinINet], URL_COMPONENTS, URL_COMPONENTS structure [WinINet], URL_COMPONENTSA, URL_COMPONENTSW, _inet_url_components_structure, wininet.url_components, wininet/LPURL_COMPONENTS, wininet/URL_COMPONENTS, wininet/URL_COMPONENTSA, wininet/URL_COMPONENTSW |
wininet.h |
Windows |
Windows 2000 Professional [desktop apps only] |
Windows 2000 Server [desktop apps only] |
URL_COMPONENTSW (Unicode) and URL_COMPONENTSA (ANSI) |
Windows |
URL_COMPONENTSW, *LPURL_COMPONENTSW |
19H1 |
|
|
|
|
|
|
Contains the constituent parts of a URL. This structure is used with the InternetCrackUrl and InternetCreateUrl functions.
Size of this structure, in bytes.
Pointer to a string that contains the scheme name.
Size of the scheme name, in TCHARs.
INTERNET_SCHEME value that indicates the Internet protocol scheme.
Pointer to a string that contains the host name.
Size of the host name, in TCHARs.
Converted port number.
Pointer to a string value that contains the user name.
Size of the user name, in TCHARs.
Pointer to a string that contains the password.
Size of the password, in TCHARs.
Pointer to a string that contains the URL path.
Size of the URL path, in TCHARs.
Pointer to a string that contains the extra information (for example, ?something or #something).
Size of the extra information, in TCHARs.
For InternetCrackUrl, if a pointer member and its corresponding length member are both zero, that component is not returned. If the pointer member is NULL but the length member is not zero, both the pointer and length members are returned. If both pointer and corresponding length members are nonzero, the pointer member points to a buffer where the component is copied. The component can be un-escaped, depending on the dwFlags parameter of InternetCrackUrl.
For InternetCreateUrl, the pointer members should be NULL if the component is not required. If the corresponding length member is zero, the pointer member is the address of a zero-terminated string. If the length member is not zero, it is the string length of the corresponding pointer member.
Note
The wininet.h header defines URL_COMPONENTS as an alias which automatically selects the ANSI or Unicode version of this function based on the definition of the UNICODE preprocessor constant. Mixing usage of the encoding-neutral alias with code that not encoding-neutral can lead to mismatches that result in compilation or runtime errors. For more information, see Conventions for Function Prototypes.