Expand Minimize
This topic has not yet been rated - Rate this topic

DhcpGetServerBindingInfoV6 function

The DhcpGetServerBindingInfoV6 function retrieves an array of IPv6 interface binding information specific to the DHCPv6 server.

Syntax


DWORD WINAPI DhcpGetServerBindingInfoV6(
  _In_   DHCP_CONST WCHAR *ServerIpAddress,
  _In_   ULONG Flags,
  _Out_  LPDHCPV6_BIND_ELEMENT_ARRAY *BindElementsInfo
);

Parameters

ServerIpAddress [in]

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

Flags [in]

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

BindElementsInfo [out]

Pointer to the address of a DHCPV6_BIND_ELEMENT_ARRAY structure that contains the information about the IPv6 interface bindings for the DHCPv6 server.

Return value

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

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

 

Remarks

The caller of this function must free the memory pointed to by BindElementsInfo.

Requirements

Minimum supported client

None supported [desktop apps only]

Minimum supported server

Windows Server 2008 R2 [desktop apps only]

Header

Dhcpsapi.h

Library

Dhcpsapi.lib

DLL

Dhcpsapi.dll

See also

DHCPV6_BIND_ELEMENT_ARRAY

 

 

Send comments about this topic to Microsoft

Build date: 2/28/2013

Community Additions

ADD
© 2013 Microsoft. All rights reserved.