Hi,
I'm confusing and wondering how to use C++ to change the Windows Event Viewer setting to enable logging Winsock Network Event.
It was disabled by default, and what I wanna try is to write a program to enable it and start recording the Winsock events.
Manually enable is okay, but it seems it doesn't have any Windows API to do this...
Here's what I know so far:
- The path in windows event viewer → Applications and Services Logs/Microsoft/Windows/Winsock Network Event
- The provider name → Microsoft-Windows-Winsock-AFD
Any ideas are all welcome.
Thanks!