This function provides the user with the Point Type ID for the Point ID that was provided.
This routine can only return a valid Point Type ID if the point has already been added to the internal list of points through the PTMAP_add_pt function call.
Syntax
int PTMAP_get_point_type (point_id, point_type_id,
retstat)
char *point_id;
char *point_type_id;
COR_STATUS *retstat;
Input Arguments
point_id |
The Point ID of the point for which you want to know the Point Type ID. |
Output Arguments
point_type_id |
The Point Type ID of the point provided in point_id. |
Retstat |
Pointer to status structure. The following errors may be returned (see Appendix A for an explanation of this code): |
|
PTMAP_INVAL_POINT_ID |
Return Value
The contents of retstat.status.
Point Management API subroutines. |