Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
The DhcpV6GetStatelessStatistics function retrieves the stateless server IPv6 subnet statistics.
Syntax
DWORD DHCP_API_FUNCTION DhcpV6GetStatelessStatistics(
[in, optional] LPWSTR ServerIpAddress,
[out] LPDHCPV6_STATELESS_STATS *StatelessStats
);
Parameters
[in, optional] ServerIpAddress
Pointer to a null-terminated Unicode string that represents the IP address or hostname of the DHCP server.
[out] StatelessStats
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
Requirement | Value |
---|---|
Minimum supported client | None supported |
Minimum supported server | Windows Server 2012 [desktop apps only] |
Target Platform | Windows |
Header | dhcpsapi.h |
Library | Dhcpsapi.lib |
DLL | Dhcpsapi.dll |