forked from snowie2000/mactype
-
Notifications
You must be signed in to change notification settings - Fork 0
/
EventLogging.h
27 lines (21 loc) · 858 Bytes
/
EventLogging.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
// EventLogging.h: interface for the EventLogging class.
//
//////////////////////////////////////////////////////////////////////
#include "common.h"
#if !defined(AFX_EVENTLOGGING_H__4AED0DCC_4C48_4312_BA6F_E6B90AC47F32__INCLUDED_)
#define AFX_EVENTLOGGING_H__4AED0DCC_4C48_4312_BA6F_E6B90AC47F32__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
class EventLogging
{
public:
EventLogging();
virtual ~EventLogging();
// Wrapper for ReportEvent that take care of Handle and EventType
virtual void LogIt(WORD CategoryID, DWORD EventID, LPCTSTR ArrayOfStrings[] = NULL,
UINT NumOfArrayStr = 0,LPVOID RawData = NULL,DWORD RawDataSize = 0);
// data member to contain handle to registry
HANDLE m_hEventLinker;
};
#endif // !defined(AFX_EVENTLOGGING_H__4AED0DCC_4C48_4312_BA6F_E6B90AC47F32__INCLUDED_)