Skip to main content

PCMSTrafficStatus

Syntax

int PCMSTrafficStatus()

Parameters

None

Description

Returns the traffic features subscription status. (A license for the Traffic add-on is required for these features.)

Return Values

  • -1: An unlimited subscription that is not set to expire.
  • -2: There is no subscription and traffic features are not accessible.
  • If a number greater than or equal to 0 is returned, it is the number of days left until the traffic subscription expires.

Sample Code

long ret = PCMSTrafficStatus();
Log_Pcmstest("\nPCMSTrafficStatus returns %d\n", ret);

Supported Since: PC*Miler Connect 25 Category: Administration

Last updated July 19, 2025.