Source code of Windows XP (NT5)
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.
 
 
 
 
 
 

56 lines
625 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,
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 */