共用方式為


ZAFLAGS enumeration

Contains the zone attribute flags.

Syntax

typedef enum  { 
  ZAFLAGS_CUSTOM_EDIT               = 0x00000001,
  ZAFLAGS_ADD_SITES                 = 0x00000002,
  ZAFLAGS_REQUIRE_VERIFICATION      = 0x00000004,
  ZAFLAGS_INCLUDE_PROXY_OVERRIDE    = 0x00000008,
  ZAFLAGS_INCLUDE_INTRANET_SITES    = 0x00000010,
  ZAFLAGS_NO_UI                     = 0x00000020,
  ZAFLAGS_SUPPORTS_VERIFICATION     = 0x00000040,
  ZAFLAGS_UNC_AS_INTRANET           = 0x00000080,
  ZAFLAGS_DETECT_INTRANET           = 0x00000100,
  ZAFLAGS_USE_LOCKED_ZONES          = 0x00010000,
  ZAFLAGS_VERIFY_TEMPLATE_SETTINGS  = 0x00020000,
  ZAFLAGS_NO_CACHE                  = 0x00040000
} ZAFLAGS;

Constants

  • ZAFLAGS_CUSTOM_EDIT
    Edit a custom URL security zone.

  • ZAFLAGS_ADD_SITES
    Add sites to a URL security zone.

  • ZAFLAGS_REQUIRE_VERIFICATION
    Require sites in the security zone to be addressed with the HTTPS scheme. This setting is exposed in the Internet Options Control Panel UI by the "Require server verification (HTTPS) for all sites in this zone" checkbox.

  • ZAFLAGS_INCLUDE_PROXY_OVERRIDE
    Include sites that bypass the proxy server.

  • ZAFLAGS_INCLUDE_INTRANET_SITES
    Include local sites that do not appear in other zones.

  • ZAFLAGS_NO_UI
    Do not display any user interfaces.

  • ZAFLAGS_SUPPORTS_VERIFICATION
    Controls the availability of the "Require server verification (HTTPS) for all sites in this zone" checkbox in the Internet Options Control Panel UI.

  • ZAFLAGS_UNC_AS_INTRANET
    Treat UNC paths as intranet.

  • ZAFLAGS_DETECT_INTRANET
    Internet Explorer 7. Automatically detects intranet network. Overrides the values of ZAFLAGS_INCLUDE_PROXY_OVERRIDE, ZAFLAGS_INCLUDE_INTRANET_SITES, and ZAFLAGS_UNC_AS_INTRANET. The values are overridden if the machine is joined to a domain, or if the Network Location Awareness API indicates that the machine is on a managed network (NLA_NETWORK_MANAGED), the flags are 1, otherwise the flags are 0.

  • ZAFLAGS_USE_LOCKED_ZONES
    Internet Explorer 6 for Windows XP SP2 and later. Use Lockdown zones instead of normal security zones.

  • ZAFLAGS_VERIFY_TEMPLATE_SETTINGS
    Internet Explorer 7. Used by GetZoneAttributesEx to verify that the zone's current template level is reported correctly by comparing the zone's settings to the template defaults stored in the registry.

  • ZAFLAGS_NO_CACHE
    Bypass the Zone Manager cache when retrieving Zone Action Policy settings.

Requirements

Minimum supported client

Windows XP

Minimum supported server

Windows 2000 Server

Product

Internet Explorer 4.0

Header

Urlmon.h

See also

Network Location Awareness Service Provider (NLA)