Since the PointOnStroke and DistanceFromPacket parameters are [in, out] parameters the must be pointers.
Attach a file by drag & drop or click to upload