I'm using npcap in winpcap compatibility mode on windows 11.
When calling pcap_setmode(m_PcapDescriptor, MODE_CAPT) it fails on the DeviceIoControl call inside of PacketSetMode(LPADAPTER AdapterObject,int mode) function.
This seems to be a kind of regression of new releases:
in 1.55 and 1.50 builds call is failing,
1.31 works ok.