The CommandList_RemoveCommandByPosition() function removes the item from the specified position in a command list.
CommandList_RemoveCommandByPosition(command_list_tag, position)
• command_list_tag – The integer tag value specifying the command list from which an item is being removed.
• position – An integer specifying the position from which to remove the command. The value 1 is the first position in the list.
A boolean. The value true indicates the item was removed, while false indicates it was not.