IPXC_ActionsList::Insert Method
From PDF XChange PDF SDK
m (Automatic page editing by robot) |
|||
Line 5: | Line 5: | ||
{{ToReview}} | {{ToReview}} | ||
− | Inserts an existing action into the actions list into given position. Note that the position value which is bigger or equal to the actions list size will insert the action as the last item of the actions list. | + | Inserts an existing action into the actions list into the given position. Note that the position value which is bigger or equal to the actions list size will insert the action as the last item of the actions list. |
== Syntax == | == Syntax == | ||
Line 18: | Line 18: | ||
== Return Value == | == Return Value == | ||
− | Returns S_OK if operation was successful or error code | + | Returns S_OK if the operation was successful, or will return an error code if it fails. |
== See Also == | == See Also == | ||
[[PXV:IPXC_ActionsList|IPXC_ActionsList]]. | [[PXV:IPXC_ActionsList|IPXC_ActionsList]]. |
Revision as of 13:17, 20 May 2015
Inserts an existing action into the actions list into the given position. Note that the position value which is bigger or equal to the actions list size will insert the action as the last item of the actions list.
Syntax
HRESULT Insert([in] ULONG nPos, [in] IPXC_Action* pAction);
Parameters
- nPos
- [in] Position of the inserted action in the actions list.
- pAction
- [in] Pointer to IPXC_Action containing the action to be inserted into the actions list.
Return Value
Returns S_OK if the operation was successful, or will return an error code if it fails.