PrivacyTemplates

The following are privacy levels that equate to rules for accepting, conditionally accepting, or not accepting cookies. These levels correspond to the privacy preference levels set on the Privacy tab in Internet Options.

Constant/value Description
PRIVACY_TEMPLATE_NO_COOKIES 0

This is the same as Block All Cookies on the Privacy Preferences slider bar in Internet Options.

PRIVACY_TEMPLATE_HIGH 1

This is the same as High on the Privacy Preferences slider bar in Internet Options.

PRIVACY_TEMPLATE__MEDIUM_HIGH 2

This is the same as Medium_High on the Privacy Preferences slider bar in Internet Options.

PRIVACY_TEMPLATE_MEDIUM 3

This is the same as Medium on the Privacy Preferences slider bar in Internet Options.

PRIVACY_TEMPLATE_MEDIUM_LOW 4

This is the same as Low on the Privacy Preferences slider bar in Internet Options.

PRIVACY_TEMPLATE_LOW 5

This is the same as Accept All Cookies on the Privacy Preferences slider bar in Internet Options.

PRIVACY_TEMPLATE_CUSTOM 100

User-defined. See How to Create a Customized Privacy Import File to understand how to set custom privacy settings.

PRIVACY_TEMPLATE_ADVANCED 101

User-defined. Advanced options are set in the Advanced Privacy Settings dialog reachable from the Privacy tab in Internet Options.

PRIVACY_TEMPLATE_MAX PRIVACY_TEMPLATE_LOW

Same as PRIVACY_TEMPLATE_LOW.

Remarks

PrivacyTemplates was introduced in Microsoft Internet Explorer 6

Requirements

Minimum supported client

Windows XP

Minimum supported server

Windows 2000 Server

Product

Internet Explorer 6

Header

Wininet.h

See also

Reference

PrivacyGetZonePreferenceW

PrivacySetZonePreferenceW