Type a page name and press Enter. You'll jump to the page if it exists, or you can create it if it doesn't.
To create a page in a module other than wininet, prefix the name with the module name and a period.
public int dwStructSize;
public string lpszScheme;
public int dwSchemeLength;
public INTERNET_SCHEME nScheme;
public string lpszHostName;
public int dwHostNameLength;
public int nPort;
public string lpszUserName;
public int dwUserNameLength;
public string lpszPassword;
public int dwPasswordLength;
public string lpszUrlPath;
public int dwUrlPathLength;
public string lpszExtraInfo;
public int dwExtraInfoLength;
// (in) Pointer to a string that contains the canonical URL to be cracked
string lpszUrl,
// (in) Size of the lpszUrl string, in TCHARs, or zero if lpszUrl is an ASCIIZ string
int dwUrlLength,
// (in) Controls the operation. This parameter can be one of the following values
int dwFlags,
// (out) Pointer to a URL_COMPONENTS structure that receives the URL components
ref URL_COMPONENTS lpUrlComponents);
string lpszUrl, // (in) Pointer to a string that contains the canonical URL to be cracked.
int dwUrlLength, // (in) Size of the lpszUrl string, in TCHARs, or zero if lpszUrl is an ASCIIZ string.
int dwFlags, // (in) Controls the operation. This parameter can be one of the following values.
ref URL_COMPONENTS lpUrlComponents); // (out) Pointer to a URL_COMPONENTS structure that receives the URL components.
VB Signature:
Declare Function InternetCrackUrl Lib "wininet.dll" (ByVal lpszUrl As String, ByVal dwUrlLength As Integer, ByVal dwFlags As Integer, ByRef lpUrlComponents As URL_COMPONENTS) As <MarshalAs(UnmanagedType.Bool)> Boolean
helpful tips or sample code to share for using this API in managed code?
corrections to the existing content?
variations of the signature you want to share?
additional languages you want to include?
Select "Edit This Page" on the right hand toolbar and edit it! Or add new pages containing supporting types needed for this API (structures, delegates, and more).