Skip to main content

PCMSGetDefaultRegion

Syntax

int PCMSGetDefaultRegion (int bufSize, char *regionID)`

Parameters

  • int bufSize – The number of bytes in the buffer.
  • *char regionID – Returns the current region, e.g. North America (NA).

Description

Allows you to view the current default region. If PC*Miler Worldwide is licensed and installed, you can use the PCMSNewTripWithRegion function to create a new trip within a specified world region.

Return Values

Standard returns

Sample Code

PCMSGetDefaultRegion(BUFLEN, buf);
printf("Default Region: %s", buf);

Supported Since: PC*Miler Connect 23

Category: Trip Management

Last updated July 19, 2025.