URLZONE enumeration

Contains all the predefined zones used by Windows Internet Explorer.

Syntax

typedef enum tagURLZONE { 
  URLZONE_INVALID         = -1,
  URLZONE_PREDEFINED_MIN  = 0,
  URLZONE_LOCAL_MACHINE   = 0,
  URLZONE_INTRANET,
  URLZONE_TRUSTED,
  URLZONE_INTERNET,
  URLZONE_UNTRUSTED,
  URLZONE_PREDEFINED_MAX  = 999,
  URLZONE_USER_MIN        = 1000,
  URLZONE_USER_MAX        = 10000
} URLZONE;

Constants

  • URLZONE_INVALID
    Internet Explorer 7. Invalid zone. Used only if no appropriate zone is available.

  • URLZONE_PREDEFINED_MIN
    Minimum value for a predefined zone.

  • URLZONE_LOCAL_MACHINE
    Zone used for content already on the user's local computer. This zone is not exposed by the user interface.

  • URLZONE_INTRANET
    Zone used for content found on an intranet.

  • URLZONE_TRUSTED
    Zone used for trusted Web sites on the Internet.

  • URLZONE_INTERNET
    Zone used for most of the content on the Internet.

  • URLZONE_UNTRUSTED
    Zone used for Web sites that are not trusted.

  • URLZONE_PREDEFINED_MAX
    Maximum value for a predefined zone.

  • URLZONE_USER_MIN
    Minimum value allowed for a user-defined zone.

  • URLZONE_USER_MAX
    Maximum value allowed for a user-defined zone.

Remarks

In Windows Server 2003 and later, to specify a zone in the enhanced security configuration, combine one of the above values with URLZONE_ESC_FLAG using a bitwise OR.

Requirements

Minimum supported client

Windows XP

Minimum supported server

Windows 2000 Server

Product

Internet Explorer 4.0

Header

Urlmon.h