#include <EventLog.h>
TSP-enforcing: No
Definition at line 21 of file EventLog.h.
Public Member Functions | |
CEventLog () | |
virtual | ~CEventLog () |
Static Public Member Functions | |
static bool | AddEventSource () |
static void | Write (int intEventType, int intEventCat, int eventID, const char *cstrMessage) |
CEventLog::CEventLog | ( | ) |
CEventLog::~CEventLog | ( | ) | [virtual] |
bool CEventLog::AddEventSource | ( | ) | [static] |
Interface: Subsystem
This function adds an event source
Definition at line 59 of file EventLog.cpp.
References COMMON_INVALID_INPUT, and TOOLKIT_PATH.
Referenced by InitAudit(), and Write().
void CEventLog::Write | ( | int | intEventType, | |
int | intEventCat, | |||
int | eventID, | |||
const char * | cstrMessage | |||
) | [static] |
Interface: Subsystem
This function writes to the event log
intEventType | [in] Event type |
intEventCat | [in] Event categoty |
eventID | [in] Event ID |
cstrMessage | [in] A NULL terminates string containing the even message |
Definition at line 238 of file EventLog.cpp.
References AddEventSource(), GetUserSid(), PKIF_LOAD, and PKIF_UNLOAD.
Referenced by AuditString().