Dumpcap is doing the work underneath. Check -b|--ring-buffer to see how the options being set in the Wireshark Gui are used.