microsoft / krabsetw

KrabsETW provides a modern C++ wrapper and a .NET wrapper around the low-level ETW trace consumption functions.
Other
588 stars 147 forks source link

catch invalid_parameter in register_trace() #158

Closed zeze-zeze closed 3 years ago

zeze-zeze commented 3 years ago

As issue #157 said, there is an error when manage the provider on Microsoft-Windows-Security-Auditing, tested on Windows10 1709, Windows server 2012 R2.

So I handle error code invalid_parameter (87) just the same as the catch for need_to_be_admin_failure (5).

ghost commented 3 years ago

CLA assistant check
All CLA requirements met.

zeze-zeze commented 3 years ago

Done. I have commented on the line after catch and changed the version of .nuspec files.