DNS_LOC_DATA structure

The DNS_LOC_DATA structure represents a DNS location (LOC) resource record (RR) as specified in RFC 1876.

Syntax


typedef struct {
  WORD  wVersion;
  WORD  wSize;
  WORD  wHorPrec;
  WORD  wVerPrec;
  DWORD dwLatitude;
  DWORD dwLongitude;
  DWORD dwAltitude;
} DNS_LOC_DATA, *PDNS_LOC_DATA;

Members

wVersion

The version number of the representation. Must be zero.

wSize

The diameter of a sphere enclosing the described entity, defined as "SIZE" in section 2 of RFC 1876.

wHorPrec

The horizontal data precision, defined as "HORIZ PRE" in section 2 of RFC 1876.

wVerPrec

The vertical data precision, defined as "VERT PRE" in section 2 of RFC 1876.

dwLatitude

The latitude of the center of the sphere, defined as "LATITUDE" in section 2 of RFC 1876.

dwLongitude

The longitude of the center of the sphere, defined as "LONGITUDE" in section 2 of RFC 1876.

dwAltitude

The altitude of the center of the sphere, defined as "ALTITUDE" in section 2 of RFC 1876.

Remarks

The DNS_LOC_DATA structure is used in conjunction with the DNS_RECORD structure to programmatically manage DNS entries.

Requirements

Minimum supported client

Windows 2000 Professional [desktop apps only]

Minimum supported server

Windows 2000 Server [desktop apps only]

Header

Windns.h

See also

DNS_RECORD

 

 

Community Additions

ADD
Show: