Which is the equivalent of:
netsh advfirewall set currentprofile logging filename %systemroot%\system32\LogFiles\Firewall\pfirewall.log
in C/C++ and VBScript ?
I found nothing in official: Windows Firewall with Advanced Security Interfaces
Note: I am interested only in enabling/disabling logging, not in changing the log filename.