DHCP_IP_RESERVATION_INFO structure (dhcpsapi.h)

The DHCP_IP_RESERVATION_INFO structure defines an IPv4 reservation for a DHCPv4 client. It extends the DHCP_IP_RESERVATION_V4 structure by including the reservation client name and description.

Syntax

typedef struct _DHCP_IP_RESERVATION_INFO {
  DHCP_IP_ADDRESS ReservedIpAddress;
  DHCP_CLIENT_UID ReservedForClient;
  LPWSTR          ReservedClientName;
  LPWSTR          ReservedClientDesc;
  BYTE            bAllowedClientTypes;
  BYTE            fOptionsPresent;
} DHCP_IP_RESERVATION_INFO, *LPDHCP_IP_RESERVATION_INFO;

Members

ReservedIpAddress

DHCP_IP_ADDRESS structure that contains the reserved IP address.

ReservedForClient

DHCP_CLIENT_UID structure that contains the hardware address (MAC address) of the DHCPv4 client that holds this reservation.

ReservedClientName

Pointer to a null-terminated Unicode string that represents the DHCPv4 reserved client machine name.

ReservedClientDesc

Pointer to a null-terminated Unicode string that represents the description of the DHCPv4 reserved client.

bAllowedClientTypes

Value that specifies the DHCPv4 reserved client type. The possible values are below:

Value Meaning
CLIENT_TYPE_DHCP
1
The DHCPv4 client supports the DHCP protocol only.
CLIENT_TYPE_BOOTP
2
The DHCPv4 client supports the BOOTP protocol only.
CLIENT_TYPE_BOTH
3
The DHCPv4 client supports both the DHCPv4 and the BOOTP protocols.

fOptionsPresent

TRUE if the DHCPv4 reserved client has options configured at reservation level. Otherwise, it is FALSE.

Requirements

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

See also

DHCP_IP_RESERVATION_V4

DHCP_IP_RESERVATION_V6

DHCP_RESERVATION_INFO_ARRAY