UrlCanonicalizeA (SHLWAPI.@)
HRESULT UrlCanonicalizeA ( LPCSTR pszUrl, LPSTR pszCanonicalized, LPDWORD pcchCanonicalized, DWORD dwFlags )
Canonicalize a Url.
pszUrl | [In] | Url to cCanonicalize. |
pszCanonicalized | [Out] | Destination for converted Url. |
pcchCanonicalized | [In/Out] | Length of pszUrl, destination for length of pszCanonicalized. |
dwFlags | [In] | Flags controlling the conversion. |
Success: S_OK. The pszCanonicalized contains the converted Url.
Failure: E_POINTER, if *pcchCanonicalized is too small.
MSDN incorrectly describes the flags for this function. They should be:
URL_DONT_ESCAPE_EXTRA_INFO 0x02000000 URL_ESCAPE_SPACES_ONLY 0x04000000 URL_ESCAPE_PERCENT 0x00001000 URL_ESCAPE_UNSAFE 0x10000000 URL_UNESCAPE 0x10000000 URL_DONT_SIMPLIFY 0x08000000 URL_ESCAPE_SEGMENT_ONLY 0x00002000
Defined in "shlwapi.h".
Implemented in "dlls/shlwapi/url.c". source.winehq.org/source/dlls/shlwapi/url.c
Debug channel "shell".
Copyright © 2005 The Wine Project. All trademarks are the property of their respective owners. Visit WineHQ for license details. Generated Aug 2005.