Skip to content

Latest commit

 

History

History
113 lines (90 loc) · 3.1 KB

nf-dhcpsapi-dhcpservergetconfigv6.md

File metadata and controls

113 lines (90 loc) · 3.1 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.DhcpServerGetConfigV6
DhcpServerGetConfigV6 function (dhcpsapi.h)
Retrieves the configuration information for the DHCPv6 server.
DhcpServerGetConfigV6
DhcpServerGetConfigV6 function [DHCP]
dhcp.dhcpservergetconfigv6
dhcpsapi/DhcpServerGetConfigV6
dhcp\dhcpservergetconfigv6.htm
DHCP
a867d8fe-0222-44aa-a00a-65a94cf59730
12/05/2018
DhcpServerGetConfigV6, DhcpServerGetConfigV6 function [DHCP], dhcp.dhcpservergetconfigv6, dhcpsapi/DhcpServerGetConfigV6
dhcpsapi.h
Windows
None supported
Windows Server 2008 R2 [desktop apps only]
Dhcpsapi.lib
Dhcpsapi.dll
Windows
19H1
DhcpServerGetConfigV6
dhcpsapi/DhcpServerGetConfigV6
c++
APIRef
kbSyntax
DllExport
Dhcpsapi.dll
DhcpServerGetConfigV6

DhcpServerGetConfigV6 function

-description

The DhcpServerGetConfigV6 function retrieves the configuration information 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 ScopeInfo [in]

Pointer to a DHCP_OPTION_SCOPE_INFO6 structure used to identify the DHCPv6 scope for which configuration information will be retrieved.

-param ConfigInfo [out]

Pointer to the address of a DHCP_SERVER_CONFIG_INFO_V6 structure that contains the requested configuration information.

Note  

The memory for this parameter must be free using DhcpRpcFreeMemory.

 

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

-see-also

DHCP_OPTION_SCOPE_INFO6

DHCP_SERVER_CONFIG_INFO_V6