Valhalla Legends Forums Archive | General Programming | Wanting to programmatically save system event logs

AuthorMessageTime
Spht
Windows Event Viewer seems to query mprmsg.dll and netevent.dll when saving logs. Has anyone tried using one of these to create log files? Does Windows Event Viewer have a commandline option to save log?

Thanks.
March 29, 2004, 6:50 PM
Skywing
Try looking at the BackupEventLog function.
March 29, 2004, 10:24 PM
Spht
That's what I was looking for. Thanks.
March 30, 2004, 1:10 AM
Noodlez
Even though I'm sure you found this, other people might want it.
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/debug/base/event_logging_functions.asp
March 30, 2004, 1:34 AM

Search