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:
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 |