.
[DllImport("advapi32.dll", SetLastError=true, EntryPoint="ClearEventLog")]
.
public static extern bool ClearEventLog(
.
Declare Function ClearEventLog Lib "advapi32.dll" (TODO) As TODO
.
Boolean success = NativeMethods.ClearEventLog(hEventLog, savePath);
.