WCM_CONNECTION_COST_DATA structure

The WCM_CONNECTION_COST_DATA structure specifies information about a connection cost.

Syntax


typedef struct _WCM_CONNECTION_COST_DATA {
  DWORD                      ConnectionCost;
  WCM_CONNECTION_COST_SOURCE CostSource;
} WCM_CONNECTION_COST_DATA, *PWCM_CONNECTION_COST_DATA;

Members

ConnectionCost

Type: DWORD

Specifies the connection cost type.

This must include one (and only one) of the following flags:

ValueMeaning
WCM_CONNECTION_COST_UNKNOWN
0x0

Connection cost information is not available.

WCM_CONNECTION_COST_UNRESTRICTED
0x1

The connection is unlimited and has unrestricted usage constraints.

WCM_CONNECTION_COST_FIXED
0x2

Usage counts toward a fixed allotment of data which the user has already paid for (or agreed to pay for).

WCM_CONNECTION_COST_VARIABLE
0x4

The connection cost is on a per-byte basis.

 

And may include any combination of the following flags:

ValueMeaning
WCM_CONNECTION_COST_OVERDATALIMIT
0x10000

The connection has exceeded its data limit.

WCM_CONNECTION_COST_CONGESTED
0x20000

The connection is throttled due to high traffic.

WCM_CONNECTION_COST_ROAMING
0x40000

The connection is outside of the home network.

 

CostSource

Type: WCM_CONNECTION_COST_SOURCE

Specifies the cost source.

Requirements

Minimum supported client

Windows 8 [desktop apps only]

Minimum supported server

Windows Server 2012 [desktop apps only]

Header

Wcmapi.h

See also

WCM_CONNECTION_COST_SOURCE

 

 

Community Additions

ADD
Show: