Magazine |
| | Community |
| | Workshop |
| | Tools & Samples |
| | Training |
| | Site Info |
|
|
||||||||
|
An enumerated type that 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 } 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 username, password, directory path, resource, or any other extra information.
Enumerated Type Information
Windows NT Use version 4.0 and later. Windows Use Windows 95 and later. Header Declared in Urlmon.h, Urlmon.idl. Minimum availability Internet Explorer 3.0
Does this content meet your programming needs? Write us!
© 1998 Microsoft Corporation. All rights reserved. Terms of use.