次の方法で共有


FIXED_INFO (Compact 2013)

3/26/2014

This structure contains information that is the same across all the interfaces in a device.

Syntax

typedef struct {
  char HostName [MAX_HOSTNAME_LEN + 4];
  char DomainName [MAX_DOMAIN_NAME_LEN + 4];
  PIP_ADDR_STRING CurrentDnsServer;
  IP_ADDR_STRING DnsServerList; 
  UINT NodeType;
  char ScopeId [MAX_SCOPE_ID_LEN + 4];
  UINT EnableRouting;
  UINT EnableProxy;
  UINT EnableDns;
} FIXED_INFO, *PFIXED_INFO;

Members

  • HostName
    The host name for the local device.
  • DomainName
    The domain in which the local device is registered.
  • CurrentDnsServer
    Reserved. Use the DnsServerList member to obtain the DNS servers for the local device.
  • DnsServerList
    A linked list of IP_ADDR_STRING structures that specify the set of DNS servers that are used by the local device.
  • NodeType
    The node type of the local device. This member is one of the following values:

    • BROADCAST_NODETYPE
    • PEER_TO_PEER_NODETYPE
    • MIXED_NODETYPE
    • HYBRID_NODETYPE
  • ScopeId
    The DHCP scope name
  • EnableRouting
    TRUE if routing is enabled on the local device.
  • EnableProxy
    TRUE if the local device is acting as an ARP proxy.
  • EnableDns
    TRUE if DNS is enabled on the local device.

Remarks

The FIXED_INFO structure is retrieved by the GetNetworkParams function.

Requirements

Header

iptypes.h

See Also

Reference

IP Helper Structures
IP_ADDR_STRING
GetNetworkParams