Syntax
int PCMSGetRegionName(PCMServerID serv, int idx, char *name, int bufSize)
Parameters
PCMServerID serv – The PC*MILER server ID.
int idx – Index of the region being retrieved.
char *name – Character buffer that will be filled with the name of the region.
int bufSize – Size of the character buffer.
Description
Returns the name of the region for the given index number.
Return Values
Sample Code
Log_Pcmstest("Installed Regions: "); int nRegions = PCMSNumRegions(server); for (int iRegion = 0; iRegion < nRegions; ++iRegion) { PCMSGetRegionName(server, iRegion, buf, BUFLEN); Log_Pcmstest(" %d) %s", iRegion, buf); }
Supported Since: PC*MILER Connect 15
Category: Administration