DhcpGetMibInfoV6
TOC
Collapse the table of content
Expand the table of content

DhcpGetMibInfoV6 function

The DhcpGetMibInfoV6 function retrieves the IPv6 counter values of the DHCP server.

Syntax


DWORD WINAPI DhcpGetMibInfoV6(
  _In_  DHCP_CONST WCHAR   *ServerIpAddress,
  _Out_ LPDHCP_MIB_INFO_V6 *MibInfo
);

Parameters

ServerIpAddress [in]

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

MibInfo [out]

Pointed to a DHCP_MIB_INFO_V6 structure that points to the location containing the IPv6 MIB information about the DHCP server.

Note  

The memory for this parameter must be free using DhcpRpcFreeMemory.

 

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.

ERROR_INVALID_PARAMETER

One of the parameters provides an invalid value.

 

Requirements

Minimum supported client

None supported

Minimum supported server

Windows Server 2008 R2 [desktop apps only]

Header

Dhcpsapi.h

Library

Dhcpsapi.lib

DLL

Dhcpsapi.dll

See also

DHCP_MIB_INFO_V6

 

 

Show:
© 2016 Microsoft