I want to write a C++ program for setting audit property settings.
I know we can audit file access EventLog like followings,
We have to set "Audit object access" to true in local security policy and set audit property to true of target folders manually.
I want to know how to set audit property of target folders(Folder->Property->
Create files / write data to TRUE) by C++ program.
Any idea welcome.