You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: sdk-api-src/content/wininet/nf-wininet-internetcreateurla.md
+22-61Lines changed: 22 additions & 61 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -19,33 +19,6 @@ req.ddi-compliance:
19
19
req.unicode-ansi: InternetCreateUrlW (Unicode) and InternetCreateUrlA (ANSI)
20
20
req.idl:
21
21
req.max-support:
22
-
req.namespace:
23
-
req.assembly:
24
-
req.type-library:
25
-
req.lib: Wininet.lib
26
-
req.dll: Wininet.dll
27
-
req.irql:
28
-
targetos: Windows
29
-
req.typenames:
30
-
req.redist:
31
-
ms.custom: 19H1
32
-
f1_keywords:
33
-
- InternetCreateUrlA
34
-
- wininet/InternetCreateUrlA
35
-
dev_langs:
36
-
- c++
37
-
topic_type:
38
-
- APIRef
39
-
- kbSyntax
40
-
api_type:
41
-
- DllExport
42
-
api_location:
43
-
- Wininet.dll
44
-
api_name:
45
-
- InternetCreateUrl
46
-
- InternetCreateUrlA
47
-
- InternetCreateUrlW
48
-
---
49
22
50
23
# InternetCreateUrlA function
51
24
@@ -56,51 +29,22 @@ Creates a URL from its component parts.
56
29
57
30
## -parameters
58
31
59
-
### -param lpUrlComponents [in]
32
+
### -param lpUrlComponents [block]
60
33
61
34
Pointer to a
62
35
<a href="/windows/desktop/api/wininet/ns-wininet-url_componentsa">URL_COMPONENTS</a> structure that contains the components from which to create the URL.
63
36
64
-
### -param dwFlags [in]
65
-
66
-
Controls the operation of this function. This parameter can be one or more of the following values.
67
-
68
-
<table>
69
-
<tr>
70
-
<th>Value</th>
71
-
<th>Meaning</th>
72
-
</tr>
73
-
<tr>
74
-
<tdwidth="40%">
75
-
<dl>
76
-
<dt>ICU_ESCAPE</dt>
77
-
</dl>
78
-
</td>
79
-
<tdwidth="60%">
37
+
### -param dwFlags [block]
38
+
39
+
Controls the operation of this function. This parameter can be one or more of the following>
80
40
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.
81
41
82
42
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.
83
43
84
-
</td>
85
-
</tr>
86
-
<tr>
87
-
<tdwidth="40%">
88
-
<dl>
89
-
<dt>ICU_USERNAME</dt>
90
-
</dl>
91
-
</td>
92
-
<tdwidth="60%">
93
-
Obsolete — ignored.
94
-
95
-
</td>
96
-
</tr>
97
-
</table>
98
-
99
-
### -param lpszUrl [out]
100
44
101
45
Pointer to a buffer that receives the URL.
102
46
103
-
### -param lpdwUrlLength [in, out]
47
+
### -param lpdwUrlLength [in]
104
48
105
49
Pointer to a variable that specifies the size of the
106
50
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
@@ -126,8 +70,25 @@ When specifying scheme in the <a href="/windows/desktop/api/wininet/ns-wininet-u
0 commit comments