DHCP_BIND_ELEMENT structure

The DHCP_BIND_ELEMENT structure defines an individual network binding for the DHCP server. A single DHCP server can contain multiple bindings and serve multiple networks.

Syntax


typedef struct _DHCP_BIND_ELEMENT {
  ULONG           Flags;
  BOOL            fBoundToDHCPServer;
  DHCP_IP_ADDRESS AdapterPrimaryAddress;
  DHCP_IP_ADDRESS AdapterSubnetAddress;
  LPWSTR          IfDescription;
  ULONG           IfIdSize;
  LPBYTE          IfId;
} DHCP_BIND_ELEMENT, *LPDHCP_BIND_ELEMENT;

Members

Flags

Specifies a set of bit flags indicating properties of the network binding.

ValueMeaning
DHCP_ENDPOINT_FLAG_CANT_MODIFY
0x01

The binding specified in this structure cannot be modified.

 

fBoundToDHCPServer

Specifies whether or not this binding is set on the DHCP server. If TRUE, the binding is set; if FALSE, it is not.

AdapterPrimaryAddress

DHCP_IP_ADDRESS value that specifies the IP address assigned to the ethernet adapter of the DHCP server.

AdapterSubnetAddress

DHCP_IP_ADDRESS value that specifies the subnet IP mask used by this ethernet adapter.

IfDescription

Unicode string that specifies the name assigned to this network interface device.

IfIdSize

Specifies the size of the network interface device ID, in bytes.

IfId

Specifies the network interface device ID.

Requirements

Minimum supported client

None supported

Minimum supported server

Windows 2000 Server [desktop apps only]

Header

Dhcpsapi.h

See also

DHCP_BIND_ELEMENT_ARRAY

 

 

Show: