NLM_USAGE_DATA structure (netlistmgr.h)

The NLM_USAGE_DATA structure stores information that indicates the data usage of a plan.

Syntax

typedef struct NLM_USAGE_DATA {
  DWORD    UsageInMegabytes;
  FILETIME LastSyncTime;
} NLM_USAGE_DATA;

Members

UsageInMegabytes

The data usage of a plan, represented in megabytes.

LastSyncTime

The timestamp of last time synced with carriers about the data usage stored in this structure.

Remarks

If usage is not supplied, UsageInMegabytes is set to NLM_UNKNOWN_DATAPLAN_STATUS (0xFFFFFFFF), and LastSyncTime is set to 0.

Requirements

Requirement Value
Minimum supported client Windows 8 [desktop apps only]
Minimum supported server Windows Server 2012 [desktop apps only]
Header netlistmgr.h

See also

INetworkCostManager::GetDataPlanStatus

NLM_DATAPLAN_STATUS