From Tracker Software PDF SDK
Removes item by index from the command menu.
HRESULT DeleteItem([in] LONG nIndex);
- [in] Value of LONG containing the index of the command that should be removed.
Returns S_OK if operation was successful or error code in other cases.