What APIs and endpoints are available for working with Windows Event Logs?
What APS’s are new/different in Windows Vista and newer?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
LogParser: Has a COM API as well as a command line application. Recommended. Also reads many other types of logs.
WMI: Can be made to read event logs. Doesn’t perform well.
Windows API: If you are programming in C this is the way to go.
C#: Managed APIs exist also.
See the microsoft Windows Event Log API here:
http://msdn.microsoft.com/en-us/library/windows/desktop/aa385785(v=vs.85).aspx