Important:
This is retired content. This content is outdated and is no longer being maintained. It is provided as a courtesy for individuals who are still using these technologies. This content may contain URLs that were valid when originally published, but now link to sites or pages that no longer exist.
A version of this page is also available for
4/8/2010

This enumeration contains the available query options.

Syntax

typedef enum _tagQUERYOPTION {
  QUERY_EXPIRATION_DATE = 1,
  QUERY_TIME_OF_LAST_CHANGE,
  QUERY_CONTENT_ENCODING,
  QUERY_CONTENT_TYPE,
  QUERY_REFRESH,
  QUERY_RECOMBINE,
  QUERY_CAN_NAVIGATE,
  QUERY_USES_NETWORK,
  QUERY_IS_CACHED,
  QUERY_IS_INSTALLEDENTRY,
  QUERY_IS_CACHED_OR_MAPPED,
  QUERY_USES_CACHE,
  QUERY_IS_SECURE,
  QUERY_IS_SAFE
} QUERYOPTION;

Elements

QUERY_EXPIRATION_DATE

Request the expiration date in a SYSTEMTIMEformat.

QUERY_TIME_OF_LAST_CHANGE

Request the last changed date in a SYSTEMTIMEformat.

QUERY_CONTENT_ENCODING

Request the content encoding schema.

QUERY_CONTENT_TYPE

Request the content type header.

QUERY_REFRESH

Request a refresh.

QUERY_RECOMBINE

Combine the page URL with the nearest base URL if TRUE.

QUERY_CAN_NAVIGATE

Check whether the protocol can navigate.

QUERY_USES_NETWORK

Check whether the URL needs to access the network.

QUERY_IS_CACHED

Check whether the resource is cached locally.

QUERY_IS_INSTALLEDENTRY

Check whether this resource is installed locally on a CD-ROM.

QUERY_IS_CACHED_OR_MAPPED

Check whether this resource is stored in the cache or if it is on a mapped drive (in a cache container).

QUERY_USES_CACHE

Check whether the specified protocol uses the Internet cache.

QUERY_IS_SECURE

Check whether the protocol is encrypted.

QUERY_IS_SAFE

Check whether the protocol only serves trusted content.

Requirements

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