Condividi tramite


Uri_HOST_TYPE enumeration

Describes the format of the specified host in a Uniform Resource Identifier (URI).

Syntax

typedef enum  { 
  Uri_HOST_UNKNOWN  = 0,
  Uri_HOST_DNS      = 1,
  Uri_HOST_IPV4     = 2,
  Uri_HOST_IPV6     = 3,
  Uri_HOST_IDN      = 4
} Uri_HOST_TYPE;

Constants

  • Uri_HOST_UNKNOWN
    Indicates an unrecognized (or future version) format.

  • Uri_HOST_DNS
    Indicates a textual DNS naming convention.

  • Uri_HOST_IPV4
    Indicates an IPv4 host format.

  • Uri_HOST_IPV6
    Indicates an IPv6 host format.

  • Uri_HOST_IDN
    Indicates an IDN.

Requirements

Minimum supported client

Windows XP with SP2

Minimum supported server

Windows Server 2003 with SP1

Product

Internet Explorer 7

Header

Urlmon.h

IDL

Urlmon.idl

See also

IUri::GetHostType