Skip to content

Latest commit

 

History

History
63 lines (43 loc) · 1.33 KB

InternetCrackUrl.md

File metadata and controls

63 lines (43 loc) · 1.33 KB

Home

Function name : InternetCrackUrl

Group: Internet Functions (WinInet) - Library: wininet


Cracks a URL into its component parts.


Code examples:

URL: splitting into its component parts

Declaration:

BOOL InternetCrackUrl(
	LPCTSTR lpszUrl,
	DWORD dwUrlLength,
	DWORD dwFlags,
	LPURL_COMPONENTS lpUrlComponents
);  

FoxPro declaration:

DECLARE INTEGER InternetCrackUrl IN wininet;
	STRING    lpszUrl,;
	INTEGER   dwUrlLength,;
	INTEGER   dwFlags,;
	STRING  @ lpUrlComponents  

Parameters:

lpszUrl [in] Pointer to a string that contains the canonical URL to crack.

dwUrlLength [in] Unsigned long integer value that contains the length of the lpszUrl string in TCHAR, or zero if lpszUrl is an ASCIIZ string.

dwFlags [in] Unsigned long integer value that contains the flags controlling the operation.

lpUrlComponents [in, out] Pointer to a URL_COMPONENTS structure that receives the URL components.


Return value:

Returns TRUE if the function succeeds, or FALSE otherwise.


Comments:

There is nothing related to Internet site cracking here.