DotNetDupe 4.0.6
C++17/20 Implementation of the .NET Base Class Library (BCL)
Loading...
Searching...
No Matches
EventLog.cpp File Reference
#include "pch.h"
#include "System/Diagnostics/EventLog.h"
#include "System/ArgumentException.h"
#include "System/InvalidOperationException.h"
#include "System/UnauthorizedAccessException.h"
#include "System/ComponentModel/Win32Exception.h"
#include "System/IO/File.h"
#include "System/IO/Path.h"
#include "System/Environment.h"
#include "System/TimeProvider.h"
#include "System/Utils/StringConvert.h"
#include <mutex>
#include <vector>
#include <map>
#include <fstream>
#include <sstream>
#include <windows.h>

Go to the source code of this file.

Namespaces

namespace  DotNetDupe
namespace  DotNetDupe::System
namespace  DotNetDupe::System::Diagnostics

Functions

static WORD DotNetDupe::System::Diagnostics::MapEventLogEntryTypeToWin32 (EventLogEntryType eType)
static HANDLE DotNetDupe::System::Diagnostics::OpenWin32EventLogHandle (const String &sLogName)
static HANDLE DotNetDupe::System::Diagnostics::RegisterWin32EventSourceHandle (const String &sSource)
static void DotNetDupe::System::Diagnostics::ValidateWin32ReportResult (BOOL bReported, DWORD dwErr, const String &sSource)

Variables

static std::map< String, std::vector< EventLogStoreEntry > > DotNetDupe::System::Diagnostics::s_mapLogEntries
static std::map< String, StringDotNetDupe::System::Diagnostics::s_mapSourceToLog
static std::mutex DotNetDupe::System::Diagnostics::s_mtxEventLog