Contains the different options for URL parsing operations.
Syntax
typedef enum _tagPARSEACTION { PARSE_CANONICALIZE = 1, PARSE_FRIENDLY, PARSE_SECURITY_URL, PARSE_ROOTDOCUMENT, PARSE_DOCUMENT, PARSE_ANCHOR, PARSE_ENCODE, PARSE_DECODE, PARSE_PATH_FROM_URL, PARSE_URL_FROM_PATH, PARSE_MIME, PARSE_SERVER, PARSE_SCHEMA, PARSE_SITE, PARSE_DOMAIN, PARSE_LOCATION, PARSE_SECURITY_DOMAIN, PARSE_ESCAPE, PARSE_UNESCAPE } PARSEACTION;
Constants
- PARSE_CANONICALIZE
- Canonicalize the URL.
- PARSE_FRIENDLY
- Retrieve the user-friendly name for the URL.
- PARSE_SECURITY_URL
- Retrieve the URL that should be used by the security manager to make security decisions. The returned URL should either return just the namespace of the protocol or map the protocol to a known protocol (such as HTTP).
- PARSE_ROOTDOCUMENT
- Return the URL of the root document for this site.
- PARSE_DOCUMENT
- Remove the anchor part of the URL.
- PARSE_ANCHOR
- Remove everything from the URL before the anchor (#).
- PARSE_ENCODE
- Encode the URL.
- PARSE_DECODE
- Decode the URL.
- PARSE_PATH_FROM_URL
- Get the path from the URL, if available.
- PARSE_URL_FROM_PATH
- Create a URL from the given path.
- PARSE_MIME
- Return the MIME type of this URL.
- PARSE_SERVER
- Return the server name.
- PARSE_SCHEMA
- Retrieve the schema for this URL.
- PARSE_SITE
- Retrieve the site associated with this URL.
- PARSE_DOMAIN
- Retrieve the domain associated with this URL.
- PARSE_LOCATION
- Retrieve the location associated with this URL.
- PARSE_SECURITY_DOMAIN
- Retrieve the security form of the URL. The returned URL should return a base URL that contains no user name, password, directory path, resource, or any other extra information.
- PARSE_ESCAPE
- Convert unsafe characters to escape sequences.
- PARSE_UNESCAPE
- Convert escape sequences to the characters they represent.
Enumerated Type Information
Windows NT Use version 4.0 Windows Use Windows 95 and later. Header Declared in Urlmon.h, Urlmon.idl. Minimum availability Internet Explorer 3.0
Windows CE
Windows CE Use version 2.12 and later Minimum availability Internet Explorer 4.0