QUERYOPTION Enumerated Type ()

Switch View :
ScriptFree
QUERYOPTION Enumerated Type

Contains the available query options for CoInternetQueryInfo.

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,
    QUERY_USES_HISTORYFOLDER,
    QUERY_IS_CACHED_AND_USABLE_OFFLINE
} QUERYOPTION;

Constants

QUERY_EXPIRATION_DATE

Request the expiration date in a SYSTEMTIME format.

QUERY_TIME_OF_LAST_CHANGE

Request the last changed date in a SYSTEMTIME format.

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 if the protocol can navigate.

QUERY_USES_NETWORK

Check if the URL needs to access the network.

QUERY_IS_CACHED

Check if the resource is cached locally.

QUERY_IS_INSTALLEDENTRY

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

QUERY_IS_CACHED_OR_MAPPED

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

QUERY_USES_CACHE

Check if the specified protocol uses the Internet cache.

QUERY_IS_SECURE

Check if the protocol is encrypted.

QUERY_IS_SAFE

Check if the protocol only serves trusted content.

QUERY_USES_HISTORYFOLDER

Windows Internet Explorer 7. Check whether the URLs from this protocol appear in history.

QUERY_IS_CACHED_AND_USABLE_OFFLINE New for Internet Explorer 9 

Internet Explorer 9. If the cache entry is available and can be used offline (not expired or flagged to revalidate), then CoInternetQueryInfo returns TRUE in pvBuffer; FALSE otherwise.

Enumerated Type Information

Header Urlmon.h
Minimum availability Internet Explorer 3.0
Minimum operating systems Windows NT 4.0, Windows 95, Windows CE 2.12