 |
UrlEscape ..msdn Add comment W32 Constants Translate this page |
 |
 |
|
Converts characters in a URL that might be altered during transport across the Internet ("unsafe" characters) into their corresponding escape sequences. |
 |
 |
| Code examples: |
 |
|
|
 |
 |
| Declaration: |
 |
 |
HRESULT UrlEscape(
LPCTSTR pszURL,
LPTSTR pszEscaped,
LPDWORD pcchEscaped,
DWORD dwFlags
);
|
 |
 |
 |
| FoxPro declaration: |
 |
 |
DECLARE INTEGER UrlEscape IN shlwapi;
STRING pszURL, STRING @pszEscaped,;
INTEGER @pcchEscaped, INTEGER dwFlags
|
 |
 |
 |
| Parameters: |
 |
pszURL
[in] Null-terminated string of maximum length INTERNET_MAX_URL_LENGTH that contains a full or partial URL.
pszEscaped
[out] Buffer that receives the converted string, with the unsafe characters converted to their escape sequences.
pcchEscaped
[in, out] Pointer to a DWORD value containing the number of characters in the pszEscaped buffer.
dwFlags
[in] Flags that indicate which portion of the URL is being provided in pszURL and which characters in that string should be converted to their escape sequences.
|
 |
 |
| Return value: |
 |
| Returns S_OK (0) if successful. |
 |
 |
| My comment: |
 |
| See UrlUnescape and InternetCanonicalizeUrl functions. |
 |
 |
| Word Index links for the UrlEscape : |
 |
|
|
 |
 |
| Translate this page: |
 |
|
 |
 |
| • |
 |
| Created: | 2003-04-03 17:57:09 | | Modified: | 2003-04-03 17:59:54 | Visited in last 7 days: 19 |