Leaked source code of windows server 2003
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
Shaswata Das 5c6fe3db62
Create README.md
4 years ago
..
dlldata.c commiting as it is 4 years ago
dlldatax.c commiting as it is 4 years ago
dlldatax.h commiting as it is 4 years ago
event.cpp commiting as it is 4 years ago
event.h commiting as it is 4 years ago
event.rgs commiting as it is 4 years ago
events.cpp commiting as it is 4 years ago
events.h commiting as it is 4 years ago
events.rgs commiting as it is 4 years ago
evntutl.cpp commiting as it is 4 years ago
evntutl.def commiting as it is 4 years ago
evntutl.h commiting as it is 4 years ago
evntutl.idl commiting as it is 4 years ago
evntutl.rc commiting as it is 4 years ago
log.cpp commiting as it is 4 years ago
log.h commiting as it is 4 years ago
log.rgs commiting as it is 4 years ago
logs.cpp commiting as it is 4 years ago
logs.h commiting as it is 4 years ago
logs.rgs commiting as it is 4 years ago
makefile commiting as it is 4 years ago
readme.txt commiting as it is 4 years ago
resource.h commiting as it is 4 years ago
sources commiting as it is 4 years ago
stdafx.cpp commiting as it is 4 years ago
stdafx.h commiting as it is 4 years ago
types.h commiting as it is 4 years ago
view.cpp commiting as it is 4 years ago
view.h commiting as it is 4 years ago
view.rgs commiting as it is 4 years ago

readme.txt

The EventLogUtilities objects are structured much like the EventLog viewer.

The main object is View, it can be used to access the various event logs on a system (View.Logs) and to change which server the event logs will be obtained from.
The Logs object can be used to enumerate through the primary logs: Application, Security, and System. To access other logs, use Logs.Item("NameOfLog").
The Log object provides access to the Events object which holds the collection of events for a particular log.
An Event object is the bottom level object and contains the properties which make up an event. Note: event time is given as local system time.

Example Use from VBScript:

Set oView = CreateObject("EventLogUtilities.View")

for each oLog in oView.Logs
for each oEvent in oLog.Events
wscript.echo oEvent.Description
next
next