DHCP_SEARCH_INFO_V6 structure (dhcpsapi.h)

The DHCP_SEARCH_INFO_V6 structure contains the term or value on which the DHCPv6 server database will be searched.

Syntax

typedef struct _DHCP_CLIENT_SEARCH_INFO_V6 {
  DHCP_SEARCH_INFO_TYPE_V6     SearchType;
#if ...
  union {
    DHCP_IPV6_ADDRESS ClientIpAddress;
    DHCP_CLIENT_UID   ClientDUID;
    LPWSTR            ClientName;
  } SearchInfo;
#if ...
  _DHCP_CLIENT_SEARCH_UNION_V6 _DHCP_CLIENT_SEARCH_UNION_V6;
#else
  union {
    DHCP_IPV6_ADDRESS ClientIpAddress;
    DHCP_CLIENT_UID   ClientDUID;
    LPWSTR            ClientName;
  } SearchInfo;
#endif
#else
  _DHCP_CLIENT_SEARCH_UNION_V6 _DHCP_CLIENT_SEARCH_UNION_V6;
#endif
} DHCP_SEARCH_INFO_V6, *LPDHCP_SEARCH_INFO_V6;

Members

SearchType

Enumeration value that selects the type of the value on which the DHCPv6 database will be searched.

SearchType - DHCP_SEARCH_INFO_V6

Enumeration value that selects the type of the value on which the DHCPv6 database will be searched.

  • Dhcpv6ClientIpAddress

The search term value is a client's IPv6 address.

  • Dhcpv6ClientDUID

The search term value is a client's DHCP unique ID (GUID).

  • Dhcpv6ClientName

The search term value is a client name string.

SearchInfo - union

  • ClientIpAddress

DHCP_IPV6_ADDRESS structure that specifies the client IPv6 address to search for.

  • ClientDUI

DDHCP_CLIENT_UIDGUID value that specifies the client DHCP UID to search for.

  • ClientName

LPWSTRUnicode string that specifies the client name to search for.

SearchInfo

SearchInfo.ClientIpAddress

DHCP_IPV6_ADDRESS structure that specifies the client IPv6 address to search for.

SearchInfo.ClientDUID

GUID value that specifies the client DHCP UID to search for.

SearchInfo.ClientName

Unicode string that specifies the client name to search for.

_DHCP_CLIENT_SEARCH_UNION_V6

Requirements

Requirement Value
Minimum supported client None supported
Minimum supported server Windows Server 2008 R2 [desktop apps only]
Header dhcpsapi.h

See also

DHCP_SEARCH_INFO_TYPE_V6