|
XbEvent provides a powerful set of functions that let you seamlessly use the Event-Mechanism of Windows NT in your Xbase++ applications.
XbOpenEventLog
- opens a handle of an event log.
XbOpenBackupEventLog
- opens a handle of a backup event log.
XbBackupEventLog
-saves the specified event log to a backup file. The function does not clear the event log.
XbCloseEventLog
- closes the specified event log returned by the XbOpenEventLog function.
XbClearEventLog
- clears the specified event log, and optionally saves the current copy of the logfile to a backup file.
XbReadEventLog
- reads a whole number of entries from the specified event log. The function can be used to read log entries in forward or reverse chronological order.
XbQueryLogEntryNum
- retrieves the number of records in the specified event log.
XbQueryOldestLogEntry
- retrieves the absolute record number of the oldest record in the specified event log.
XbRegEventSource
- returns a handle that can be used with the XbReportEvent function to log an event.
XbReportEvent
- writes an entry at the end of the specified event log.
XbDeRegEventSource
- closes a handle returned by the XbRegisterEventSource function.
XbEventGetLastError
- returns the last-error code value of the above functions.
XbCreateEventKey
- used to create an EventKey in the Registery of the local machine.
XbCheckEventKey
- used to check an EventKey for existing in the Registery of the local machine.
XbDelEventKey
- used to delete an EventKey from the Registery of the local machine.
|