Skip to content

Update nf-wininet-internetcreateurla.md #2001

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: docs
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
83 changes: 22 additions & 61 deletions sdk-api-src/content/wininet/nf-wininet-internetcreateurla.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,33 +19,6 @@ req.ddi-compliance:
req.unicode-ansi: InternetCreateUrlW (Unicode) and InternetCreateUrlA (ANSI)
req.idl:
req.max-support:
req.namespace:
req.assembly:
req.type-library:
req.lib: Wininet.lib
req.dll: Wininet.dll
req.irql:
targetos: Windows
req.typenames:
req.redist:
ms.custom: 19H1
f1_keywords:
- InternetCreateUrlA
- wininet/InternetCreateUrlA
dev_langs:
- c++
topic_type:
- APIRef
- kbSyntax
api_type:
- DllExport
api_location:
- Wininet.dll
api_name:
- InternetCreateUrl
- InternetCreateUrlA
- InternetCreateUrlW
---

# InternetCreateUrlA function

Expand All @@ -56,51 +29,22 @@ Creates a URL from its component parts.

## -parameters

### -param lpUrlComponents [in]
### -param lpUrlComponents [block]

Pointer to a
<a href="/windows/desktop/api/wininet/ns-wininet-url_componentsa">URL_COMPONENTS</a> structure that contains the components from which to create the URL.

### -param dwFlags [in]

Controls the operation of this function. This parameter can be one or more of the following values.

<table>
<tr>
<th>Value</th>
<th>Meaning</th>
</tr>
<tr>
<td width="40%">
<dl>
<dt>ICU_ESCAPE</dt>
</dl>
</td>
<td width="60%">
### -param dwFlags [block]

Controls the operation of this function. This parameter can be one or more of the following>
Converts all unsafe characters to their corresponding escape sequences in the path string pointed to by the <b>lpszUrlPath</b> member and in <b>lpszExtraInfo</b> the extra-information string pointed to by the member of the <a href="/windows/desktop/api/wininet/ns-wininet-url_componentsa">URL_COMPONENTS</a> structure pointed to by the <i>lpUrlComponents</i> parameter.

The Unicode version of <b>InternetCreateUrl</b> will first try to convert using the system code page. If that fails it falls back to UTF-8.

</td>
</tr>
<tr>
<td width="40%">
<dl>
<dt>ICU_USERNAME</dt>
</dl>
</td>
<td width="60%">
Obsolete — ignored.

</td>
</tr>
</table>

### -param lpszUrl [out]

Pointer to a buffer that receives the URL.

### -param lpdwUrlLength [in, out]
### -param lpdwUrlLength [in]

Pointer to a variable that specifies the size of the
URL <i>lpszUrl</i> buffer, in <b>TCHARs</b>. When the function returns, this parameter receives the size of the URL string, excluding the NULL terminator. If
Expand All @@ -126,8 +70,25 @@ When specifying scheme in the <a href="/windows/desktop/api/wininet/ns-wininet-u

## -see-also

system kog input list:




<a href="/windows/desktop/WinInet/handling-uniform-resource-locators">Handling Uniform Resource Locators</a>



<a href="/windows/desktop/WinInet/wininet-functions">WinINet Functions</a>



String.class.getName()
returns "java.lang.String"
byte.class.getName()
returns "byte"
(new Object[3]).getClass().getName()
returns "[Ljava.lang.Object;"
(new int[3][4][5][6][7][8][9]).getClass().getName()
returns "[[[[[[[I"
adb shell dumpsys package PACKAGE_NAMEhttps://issues.chromium.org/issues/409478033