Universal Robots+

How to get a list of all waypoints

I know the way to get a list of all variables in the robot program by referring samples of SDK.
Is there a way to get a list of all waypoints?

I want to make urcap that calculate the poses, so I hope the feature to get a list of waypoints.