From Tracker Software PDF SDK
Inserts an existing action into the actions list into the given position. Note that the position value that is bigger or equal to the actions list size will insert the action as the last item of the actions list.
HRESULT Insert([in] ULONG nPos, [in] IPXC_Action* pAction);
- [in] Position of the inserted action in the actions list.
- [in] Pointer to IPXC_Action containing the action to be inserted into the actions list.
Returns S_OK if the operation was successful, or will return an error code if it fails.