Event Log functions
Many applications record errors and events in various
proprietary error logs. Set of Event Log functions allow the user
to examine logs. To find out how many event records are in the
event log, use the EventLogGetNumberOfRecords function. To
determine the oldest record in the event log, use the EventLogGetOldestRecord function.