NLM_CONNECTION_COST Enumeration

The NLM_CONNECTION_COST enumeration specifies a set of cost levels and cost flags supported in Windows 8 Cost APIs.

Syntax

typedef enum NLM_CONNECTION_COST {
  NLM_CONNECTION_COST_UNKNOWN,
  NLM_CONNECTION_COST_UNRESTRICTED,
  NLM_CONNECTION_COST_FIXED,
  NLM_CONNECTION_COST_VARIABLE,
  NLM_CONNECTION_COST_OVERDATALIMIT,
  NLM_CONNECTION_COST_CONGESTED,
  NLM_CONNECTION_COST_ROAMING,
  NLM_CONNECTION_COST_APPROACHINGDATALIMIT
} ;

Constants

NLM_CONNECTION_COST_UNKNOWN The cost is unknown.
NLM_CONNECTION_COST_UNRESTRICTED The connection is unlimited and is considered to be unrestricted of usage charges and capacity constraints.
NLM_CONNECTION_COST_FIXED The use of this connection is unrestricted up to a specific data transfer limit.
NLM_CONNECTION_COST_VARIABLE This connection is regulated on a per byte basis.
NLM_CONNECTION_COST_OVERDATALIMIT The connection is currently in an OverDataLimit state as it has exceeded the carrier specified data transfer limit.
NLM_CONNECTION_COST_CONGESTED The network is experiencing high traffic load and is congested.
NLM_CONNECTION_COST_ROAMING The connection is roaming outside the network and affiliates of the home provider.
NLM_CONNECTION_COST_APPROACHINGDATALIMIT The connection is approaching the data limit specified by the carrier.

Remarks

The value returned by the INetworkConnectionCost::GetCost method can have multiple bits set with the values specified by this enumeration.

Requirements

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

See Also

INetworkConnectionCost::GetCost