INetworkCostManagerEvents::DataPlanStatusChanged method (netlistmgr.h)

The DataPlanStatusChanged method is called to indicate a change to the status of a data plan associated with either a connection used for machine-wide Internet connectivity, or the first-hop of routing to a specific destination on a connection.

Syntax

HRESULT DataPlanStatusChanged(
  NLM_SOCKADDR *pDestAddr
);

Parameters

pDestAddr

An NLM_SOCKADDR structure containing an IPv4/IPv6 address that identifies the destination for which the event occurred. If destAddr is NULL, the change is a machine-wide Internet connectivity change.

Return value

Returns S_OK on success.

Requirements

Requirement Value
Minimum supported client Windows 8 [desktop apps only]
Minimum supported server None supported
Target Platform Windows
Header netlistmgr.h

See also

INetworkCostManagerEvents