Skip to content

Latest commit

 

History

History
100 lines (84 loc) · 2.5 KB

nf-dhcpsapi-dhcpaddsubnetelementv6.md

File metadata and controls

100 lines (84 loc) · 2.5 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.DhcpAddSubnetElementV6
DhcpAddSubnetElementV6 function (dhcpsapi.h)
The DhcpAddSubnetElementV6 function adds an element describing a feature or aspect of the subnet to the subnet entry in the DHCP database.
DhcpAddSubnetElementV6
DhcpAddSubnetElementV6 function [DHCP]
dhcp.dhcpaddsubnetelementv6
dhcpsapi/DhcpAddSubnetElementV6
dhcp\dhcpaddsubnetelementv6.htm
DHCP
9f009140-5301-4aee-a6e5-12f7cd56f906
12/05/2018
DhcpAddSubnetElementV6, DhcpAddSubnetElementV6 function [DHCP], dhcp.dhcpaddsubnetelementv6, dhcpsapi/DhcpAddSubnetElementV6
dhcpsapi.h
Windows
None supported
Windows Server 2008 [desktop apps only]
Dhcpsapi.lib
Dhcpsapi.dll
Windows
19H1
DhcpAddSubnetElementV6
dhcpsapi/DhcpAddSubnetElementV6
c++
APIRef
kbSyntax
DllExport
Dhcpsapi.dll
DhcpAddSubnetElementV6

DhcpAddSubnetElementV6 function

-description

The DhcpAddSubnetElementV6 function adds an element describing a feature or aspect of the subnet to the subnet entry in the DHCP database.

-parameters

-param ServerIpAddress [in]

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

-param SubnetAddress [in]

DHCP_IPV6_ADDRESS structure that contains the IP address of the subnet.

-param AddElementInfo [in]

Pointer to a DHCP_SUBNET_ELEMENT_DATA_V6 structure that contains the element data to add to the subnet. The V5 structure adds support for BOOTP clients.

-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_INVALID_PARAMETER
The parameters were invalid.
ERROR_DUPLICATE_TAG
The specified scope already exists.