int PCMSGetFPARPOICategoryName(PCMServerID serv, int poiCatIndex, char *buffer, int bufSize)


PCMServerID serv – The PC*MILER server ID.

int poiCatIndex  Index of the POI category.

char *buffer – Empty string buffer that will be filled with the name of the POI category.

int bufSize – The number of bytes in the buffer.


Gets the name of a specific Place of Interest (POI) category based on an index value when you find POIs along a route (FPAR). 

Return Values 

A negative one (-1) indicates an error has occurred. Zero or greater indicates success and the number of characters put into the buffer.


Sample Code 

PCMSGetFPARPOICategoryName(server, i, buffer, BUFLEN);
printf("%d %s", i, buffer);

Supported Since: PC*MILER|Connect 29

Category: Find Places Along Route (FPAR)