DhcpGetMibInfoV6 function (dhcpsapi.h)
The DhcpGetMibInfoV6 function retrieves the IPv6 counter values of the DHCP server.
Syntax
DWORD DhcpGetMibInfoV6(
[in] DHCP_CONST WCHAR *ServerIpAddress,
[out] LPDHCP_MIB_INFO_V6 *MibInfo
);
Parameters
[in] ServerIpAddress
Pointer to a Unicode string that specifies the IP address or hostname of the DHCPv6 server.
[out] MibInfo
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 code | Description |
---|---|
|
This call was performed by a client who is not a member of the "DHCP Administrators" security group. |
|
An error occurred while accessing the DHCP server's database. |
|
One of the parameters provides an invalid value. |
Requirements
Requirement | Value |
---|---|
Minimum supported client | None supported |
Minimum supported server | Windows Server 2008 R2 [desktop apps only] |
Target Platform | Windows |
Header | dhcpsapi.h |
Library | Dhcpsapi.lib |
DLL | Dhcpsapi.dll |