Microsoft HomeproductssearchsupportshopWrite Us   Microsoft Home
Magazine
 |  Community
 |  Workshop
 |  Tools & Samples
 |  Training
 |  Site Info

Workshop  |  Networking, Protocols & Data Formats

PARSEACTION Enumerated Type


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!

Back to topBack to top

© 1998 Microsoft Corporation. All rights reserved. Terms of use.

 

Magazine Home
Ask Jane
DHTML Dude
Extreme XML
For Starters
More or Hess
Servin' It Up
Site Lights
Web Men Talking
Member Community Home
Benefits: Freebies & Discounts
Benefits: Promote Your Site
Benefits: Connect with Your Peers
Benefits at a Glance
Online Special-Interest Groups
Your Membership
SBN Stores
Join Now
Workshop Home
Essentials
Content & Component Delivery
Component Development
Data Access & Databases
Design
DHTML, HTML & CSS
Extensible Markup Language (XML)
Languages & Development Tools
Messaging & Collaboration
Networking, Protocols & Data Formats
Reusing Browser Technology
Security & Cryptography
Server Technologies
Streaming & Interactive Media
Web Content Management
Workshop Index
Tools & Samples Home
Tools
Samples, Headers, Libs
Images
Sounds
Style Sheets
Web Fonts
Training Home
SBN Live Seminars
SBN Live Chats
Courses
Peer Support
CD-ROM Training
Books & Training Kits
Certification
SBN Home
New to SBN?
What's New on SBN
Site Map
Site Search
Glossary
Write Us
About This Site