DhcpV6GetStatelessStatistics function

The DhcpV6GetStatelessStatistics function retrieves the stateless server IPv6 subnet statistics.

Syntax


DWORD DHCP_API_FUNCTION DhcpV6GetStatelessStatistics(
  _In_opt_ LPWSTR                   ServerIpAddress,
  _Out_    LPDHCPV6_STATELESS_STATS *StatelessStats
);

Parameters

ServerIpAddress [in, optional]

Pointer to a null-terminated Unicode string that represents the IP address or hostname of the DHCP server.

StatelessStats [out]

Pointer to a DHCPV6_STATELESS_STATS structure that contain DHCPv6 stateless server IPv6 subnet statistics.

Return value

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

Remarks

StatelessStats and its member, ScopeStats, should be free using DhcpRpcFreeMemory.

Requirements

Minimum supported client

None supported

Minimum supported server

Windows Server 2012 [desktop apps only]

Header

Dhcpsapi.h

Library

Dhcpsapi.lib

DLL

Dhcpsapi.dll

See also

DhcpV6GetStatelessStoreParams
DhcpV6SetStatelessStoreParams

 

 

Show: