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.
57 lines
704 B
57 lines
704 B
/*++
|
|
|
|
Copyright (c) 1998 Microsoft Corporation
|
|
|
|
Module Name:
|
|
|
|
eventlog.h
|
|
|
|
Abstract:
|
|
|
|
SIS Groveler event log interface include file
|
|
|
|
Authors:
|
|
|
|
John Douceur, 1998
|
|
|
|
Environment:
|
|
|
|
User Mode
|
|
|
|
|
|
Revision History:
|
|
|
|
|
|
--*/
|
|
|
|
#ifndef _INC_EVENTLOG
|
|
|
|
#define _INC_EVENTLOG
|
|
|
|
class EventLog
|
|
{
|
|
public:
|
|
|
|
EventLog();
|
|
|
|
~EventLog();
|
|
|
|
static bool setup_registry();
|
|
|
|
bool report_event(
|
|
DWORD event_id,
|
|
DWORD status,
|
|
int string_count,
|
|
// _TCHAR *string
|
|
...);
|
|
|
|
private:
|
|
|
|
static const _TCHAR *service_name;
|
|
static const _TCHAR *message_filename;
|
|
static const DWORD types_supported;
|
|
|
|
HANDLE event_source_handle;
|
|
};
|
|
|
|
#endif /* _INC_EVENTLOG */
|