次の方法で共有


Privacy Flags (Windows Embedded CE 6.0)

1/6/2010

Privacy functions such as PrivacyGetZonePreferenceW and PrivacySetZonePreferenceW use privacy flags.

Privacy Types

PrivacyType flags specify that privacy settings are for either first-party or third-party cookies. The following table shows the possible flags that are passed in the dwType parameter.

Constant Description

PRIVACY_TYPE_FIRST_PARTY (0)

Refers to privacy settings for first party cookies.

PRIVACY_TYPE_THIRD_PARTY (1)

Refers to privacy settings for third party cookies

For more information about first party and third party cookies, see Platform for Privacy Preferences (P3P).

PrivacyTemplates

PrivacyTemplates specify the 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. The following table shows the possible flags that are passed in the pdwTemplate parameter.

Constant 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 

Same as PRIVACY_TEMPLATE_LOW.

Ee492267.collapse(en-US,WinEmbedded.60).gifRequirements

Header wininet.h
Library wininet.lib
Windows Embedded CE Windows CE 5.0 and later

See Also

Reference

WinInet Constants