Partager via


PARSEACTION (Windows Embedded CE 6.0)

1/6/2010

This enumeration 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;

Elements

  • PARSE_CANONICALIZE
    Canonicalizes the URL.
  • PARSE_FRIENDLY
    Retrieves the user-friendly name for the URL.
  • PARSE_SECURITY_URL
    Retrieves 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
    Returns the URL of the root document for this site.
  • PARSE_DOCUMENT
    Removes the anchor part of the URL.
  • PARSE_ANCHOR
    Removes everything from the URL before the anchor (#).
  • PARSE_ENCODE
    Encodes the URL.
  • PARSE_DECODE
    Decodes the URL.
  • PARSE_PATH_FROM_URL
    Gets the path from the URL, if available.
  • PARSE_URL_FROM_PATH
    Creates a URL from the given path.
  • PARSE_MIME
    Returns the MIME type of this URL.
  • PARSE_SERVER
    Returns the server name.
  • PARSE_SCHEMA
    Retrieves the schema for this URL.
  • PARSE_SITE
    Retrieves the site associated with this URL.
  • PARSE_DOMAIN
    Retrieves the domain associated with this URL.
  • PARSE_LOCATION
    Retrieves the location associated with this URL.
  • PARSE_SECURITY_DOMAIN
    Retrieves 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
    Converts unsafe characters to escape sequences.
  • PARSE_UNESCAPE
    Converts escape sequences to the characters they represent.

Requirements

Header urlmon.h, urlmon.idl
Windows Embedded CE Windows CE .NET 4.0 and later

See Also

Reference

Asynchronous Pluggable Protocols Enumerations