Skip to content

Latest commit

 

History

History
130 lines (107 loc) · 3.33 KB

nf-dhcpsapi-dhcpsetserverbindinginfov6.md

File metadata and controls

130 lines (107 loc) · 3.33 KB
UID title description helpviewer_keywords old-location tech.root ms.assetid ms.date ms.keywords req.header req.include-header req.target-type req.target-min-winverclnt req.target-min-winversvr req.kmdf-ver req.umdf-ver req.ddi-compliance req.unicode-ansi req.idl req.max-support req.namespace req.assembly req.type-library req.lib req.dll req.irql targetos req.typenames req.redist ms.custom f1_keywords dev_langs topic_type api_type api_location api_name
NF:dhcpsapi.DhcpSetServerBindingInfoV6
DhcpSetServerBindingInfoV6 function (dhcpsapi.h)
Sets or modifies the IPv6 interface bindings for the DHCPv6 server.
DhcpSetServerBindingInfoV6
DhcpSetServerBindingInfoV6 function [DHCP]
dhcp.dhcpsetserverbindinginfov6
dhcpsapi/DhcpSetServerBindingInfoV6
dhcp\dhcpsetserverbindinginfov6.htm
DHCP
55eb2073-87c4-49b1-b294-35bfeb13d530
12/05/2018
DhcpSetServerBindingInfoV6, DhcpSetServerBindingInfoV6 function [DHCP], dhcp.dhcpsetserverbindinginfov6, dhcpsapi/DhcpSetServerBindingInfoV6
dhcpsapi.h
Windows
None supported
Windows Server 2008 R2 [desktop apps only]
Dhcpsapi.lib
Dhcpsapi.dll
Windows
19H1
DhcpSetServerBindingInfoV6
dhcpsapi/DhcpSetServerBindingInfoV6
c++
APIRef
kbSyntax
DllExport
Dhcpsapi.dll
DhcpSetServerBindingInfoV6

DhcpSetServerBindingInfoV6 function

-description

The DhcpSetServerBindingInfoV6 function sets or modifies the IPv6 interface bindings for the DHCPv6 server.

-parameters

-param ServerIpAddress [in]

Pointer to a Unicode string that specifies the IP address or hostname of the DHCP server.

-param Flags [in]

This parameter is not used and must be set to 0.

-param BindElementInfo [in]

Pointer to a DHCPV6_BIND_ELEMENT_ARRAY structure that contains the IPv6 interface bindings for the DHCPv6 server.

-returns

This function returns ERROR_SUCCESS upon a successful call. Otherwise, it returns one of the DHCP Server Management API Error Codes.

Return code Description
ERROR_ACCESS_DENIED
This call was performed by a client who is not a member of the "DHCP Administrators" security group.
ERROR_DHCP_JET_ERROR
An error occurred while accessing the DHCP server's database.
ERROR_DHCP_NETWORK_CHANGED
The network has changed. Retry this operation after checking for network changes. Network changes can be caused by interfaces that are either new or no longer valid, or by IPv6 addresses that are either new or no longer valid.
ERROR_DHCP_CANNOT_MODIFY_BINDING
The supplied bindings to internal IPv6 addresses cannot be modified.

-see-also

DHCPV6_BIND_ELEMENT_ARRAY

DhcpGetServerBindingInfoV6