Using Win32 functions in Visual FoxPro Image Gallery
Internet Functions (WinInet)
..msdn
CreateMD5SSOHash
DeleteUrlCacheEntry
DetectAutoProxyUrl
FindCloseUrlCache
FindFirstUrlCacheEntry
FindFirstUrlCacheGroup
FindNextUrlCacheEntry
FindNextUrlCacheGroup
FtpCommand
FtpCreateDirectory
FtpDeleteFile
FtpFindFirstFile
FtpGetCurrentDirectory
FtpGetFile
FtpGetFileSize
FtpOpenFile
FtpPutFile
FtpRemoveDirectory
FtpRenameFile
FtpSetCurrentDirectory
GetUrlCacheEntryInfo
HttpOpenRequest
HttpQueryInfo
HttpSendRequest
InternetAttemptConnect
InternetAutodial
InternetAutodialHangup
InternetCanonicalizeUrl
InternetCheckConnection
InternetCloseHandle
InternetConnect
InternetCrackUrl
InternetDial
InternetFindNextFile
InternetGetConnectedState
InternetGetConnectedStateEx
InternetGetCookie
InternetGetLastResponseInfo
InternetGoOnline
InternetOpen
InternetOpenUrl
InternetQueryDataAvailable
InternetQueryOption
InternetReadFile
InternetSetCookie
InternetSetFilePointer
InternetTimeFromSystemTime
InternetTimeToSystemTime
InternetWriteFile
Code examples:
URL: converting unsafe characters and spaces into escape sequences
InternetCanonicalizeUrl
..msdn    Add comment     W32 Constants      Translate this page
Canonicalizes a URL, which includes converting unsafe characters and spaces into escape sequences.
Code examples:
URL: converting unsafe characters and spaces into escape sequences
Declaration:
BOOL InternetCanonicalizeUrl(
    LPCTSTR lpszUrl,
    LPTSTR lpszBuffer,
    LPDWORD lpdwBufferLength,
    DWORD dwFlags
);
FoxPro declaration:
DECLARE INTEGER InternetCanonicalizeUrl IN wininet;
    STRING    lpszUrl,;
    STRING  @ lpszBuffer,;
    INTEGER @ lpdwBufferLength,;
    INTEGER   dwFlags
Parameters:
lpszUrl
[in] Pointer to the string that contains the URL to canonicalize.

lpszBuffer
[out] Pointer to the buffer that receives the resulting canonicalized URL.

lpdwBufferLength
[in, out] Pointer to an unsigned long integer value that contains the length, in bytes, of the lpszBuffer buffer.

dwFlags
[in] Unsigned long integer value that contains the flags that control canonicalization.
Return value:
Returns TRUE if successful, or FALSE otherwise.
My comment:
If no flags are specified (dwFlags = 0), the function converts all unsafe characters and meta sequences (such as \.,\ .., and \...) to escape sequences.

See UrlEscape and UrlUnescape functions.
Word Index links for the InternetCanonicalizeUrl :
Translate this page:
  Spanish    Portuguese    German    French    Italian  
FreeTranslation.com offers instant, free translations of text or web pages.
Created: 2001-11-02 18:10:48
Modified: 2003-04-03 18:07:30
Visited in last 7 days: 15
User Contributed Notes:
There are no notes on this subject.


Copyright 2001-2017 News2News, Inc. Before reproducing or distributing any data from this site please ask for an approval from its owner. Unless otherwise specified, this page is for your personal and non-commercial use. The information on this page is presented AS IS, meaning that you may use it at your own risk. Microsoft Visual FoxPro and Windows are trade marks of Microsoft Corp. All other trademarks are the property of their respective owners. 

Privacy policy
Credits: PHP (4.4.9), an HTML-embedded scripting language, MySQL (5.6.37), the Open Source standard SQL database, AceHTML Freeware Version 4, freeware HTML Editor of choice.   Hosted by Korax Online Inc.
Last Topics Visited (54.80.132.10)
14 sec.Function: 'AVIStreamStart'
28 sec.Function: 'GdipGetMatrixElements'
42 sec.Function: 'StartService'
57 sec.Function: 'waveInGetNumDevs'
1.18 min.
Function group: 'Extensible Storage Engine (ESE, Jet Blue)'
1.42 min.Function: 'GetClipCursor'
1.65 min.Function: 'SHCreateDirectory'
1.88 min.
Function group: 'Shell Lightweight Utility APIs -- misc. functions'
2.13 min.Function: 'PlayEnhMetaFile'
2.37 min.Function: 'SQLGetInfo'
Google
Advertise here!