ReactOS 0.4.16-dev-91-g764881a
|
#include "eventvwr.h"
#include "evtdetctl.h"
#include <sddl.h>
#include <shellapi.h>
#include <shlwapi.h>
#include <pseh/pseh2.h>
Go to the source code of this file.
Classes | |
struct | _SETTINGS |
struct | param_strings_format_data |
Macros | |
#define | LVM_PROGRESS (WM_APP + 1) |
#define | EVENT_MESSAGE_EVENTTEXT_BUFFER (1024*10) |
#define | EVENT_MESSAGE_FILE_BUFFER (1024*10) |
#define | EVENT_DLL_SEPARATOR L";" |
#define | EVENT_CATEGORY_MESSAGE_FILE L"CategoryMessageFile" |
#define | EVENT_MESSAGE_FILE L"EventMessageFile" |
#define | EVENT_PARAMETER_MESSAGE_FILE L"ParameterMessageFile" |
#define | MAX_LOADSTRING 255 |
#define | SPLIT_WIDTH 4 |
Typedefs | |
typedef struct _SETTINGS | SETTINGS |
typedef struct _SETTINGS * | PSETTINGS |
#define EVENT_CATEGORY_MESSAGE_FILE L"CategoryMessageFile" |
Definition at line 39 of file eventvwr.c.
#define EVENT_DLL_SEPARATOR L";" |
Definition at line 38 of file eventvwr.c.
#define EVENT_MESSAGE_EVENTTEXT_BUFFER (1024*10) |
Definition at line 36 of file eventvwr.c.
#define EVENT_MESSAGE_FILE L"EventMessageFile" |
Definition at line 40 of file eventvwr.c.
#define EVENT_MESSAGE_FILE_BUFFER (1024*10) |
Definition at line 37 of file eventvwr.c.
#define EVENT_PARAMETER_MESSAGE_FILE L"ParameterMessageFile" |
Definition at line 41 of file eventvwr.c.
Definition at line 21 of file eventvwr.c.
#define MAX_LOADSTRING 255 |
Definition at line 43 of file eventvwr.c.
#define SPLIT_WIDTH 4 |
Definition at line 45 of file eventvwr.c.
Definition at line 1338 of file eventvwr.c.
Referenced by AllocEventLogFilter().
Definition at line 1283 of file eventvwr.c.
Referenced by BuildLogListAndFilterList(), and OpenUserEventLogFile().
PEVENTLOGFILTER AllocEventLogFilter | ( | IN BOOL | Information, |
IN BOOL | Warning, | ||
IN BOOL | Error, | ||
IN BOOL | AuditSuccess, | ||
IN BOOL | AuditFailure, | ||
IN PCWSTR Sources | OPTIONAL, | ||
IN PCWSTR Users | OPTIONAL, | ||
IN PCWSTR ComputerNames | OPTIONAL, | ||
IN ULONG | NumOfEventLogs, | ||
IN PEVENTLOG * | EventLogs | ||
) |
Definition at line 1359 of file eventvwr.c.
Referenced by BuildLogListAndFilterList(), and OpenUserEventLogFile().
DWORD ApplyParameterStringsToMessage | ( | IN LPCWSTR | lpMessageDllList, |
IN BOOL | bMessagePreFormatted, | ||
IN CONST LPCWSTR | pMessage, | ||
OUT LPWSTR * | pFinalMessage | ||
) |
Definition at line 903 of file eventvwr.c.
Referenced by GetEventMessage().
Definition at line 2789 of file eventvwr.c.
Referenced by wWinMain().
BOOL ClearEvents | ( | IN PEVENTLOGFILTER | EventLogFilter | ) |
Definition at line 2612 of file eventvwr.c.
Referenced by EventLogPropProc(), and WndProc().
VOID CloseUserEventLog | ( | IN PEVENTLOGFILTER | EventLogFilter, |
IN HTREEITEM | hti | ||
) |
Definition at line 2577 of file eventvwr.c.
Referenced by WndProc().
Definition at line 164 of file eventvwr.c.
Referenced by ProcessCmdLine().
VOID EnumEvents | ( | IN PEVENTLOGFILTER | EventLogFilter | ) |
Definition at line 2422 of file eventvwr.c.
HACK!!
Definition at line 1962 of file eventvwr.c.
Referenced by StartStopEnumEventsThread().
Definition at line 4316 of file eventvwr.c.
Referenced by WndProc().
Definition at line 1322 of file eventvwr.c.
Referenced by BuildLogListAndFilterList(), FreeLogList(), and OpenUserEventLogFile().
LONG EventLogFilter_AddRef | ( | IN PEVENTLOGFILTER | EventLogFilter | ) |
Definition at line 1416 of file eventvwr.c.
Referenced by ClearEvents(), EnumEventsThread(), EventLogProperties(), SaveEventLog(), and WndProc().
VOID EventLogFilter_Free | ( | IN PEVENTLOGFILTER | EventLogFilter | ) |
Definition at line 1402 of file eventvwr.c.
Referenced by EventLogFilter_Release(), and FreeLogFilterList().
LONG EventLogFilter_Release | ( | IN PEVENTLOGFILTER | EventLogFilter | ) |
RemoveEntryList(&EventLogFilter->ListEntry);
Definition at line 1422 of file eventvwr.c.
Referenced by ClearEvents(), CloseUserEventLog(), EnumEventsThread(), EventLogProperties(), SaveEventLog(), and WndProc().
INT_PTR EventLogProperties | ( | HINSTANCE | hInstance, |
HWND | hWndParent, | ||
PEVENTLOGFILTER | EventLogFilter | ||
) |
Definition at line 4250 of file eventvwr.c.
Referenced by WndProc().
Definition at line 4129 of file eventvwr.c.
Referenced by EventLogProperties().
VOID EventTimeToSystemTime | ( | IN DWORD | EventTime, |
OUT PSYSTEMTIME | pSystemTime | ||
) |
Definition at line 713 of file eventvwr.c.
Referenced by EnumEventsThread().
Definition at line 1905 of file eventvwr.c.
Referenced by EnumEventsThread().
BOOL FilterByType | ( | IN PEVENTLOGFILTER | EventLogFilter, |
IN PEVENTLOGRECORD | pevlr | ||
) |
Definition at line 1889 of file eventvwr.c.
Referenced by EnumEventsThread().
Definition at line 1161 of file eventvwr.c.
Referenced by FormatFileSizeWithBytes().
LPWSTR FormatFileSizeWithBytes | ( | const PULARGE_INTEGER | lpQwSize, |
LPWSTR | pwszResult, | ||
UINT | cchResultMax | ||
) |
Definition at line 1184 of file eventvwr.c.
Referenced by InitPropertiesDlg().
Definition at line 1101 of file eventvwr.c.
Referenced by FormatByteSize().
Definition at line 3015 of file eventvwr.c.
Referenced by wWinMain().
Definition at line 2999 of file eventvwr.c.
Referenced by wWinMain().
Definition at line 1871 of file eventvwr.c.
Referenced by EnumEventsThread(), and StartStopEnumEventsThread().
BOOL GetDisplayNameFileAndID | ( | IN LPCWSTR | lpLogName, |
OUT PWCHAR | lpModuleName, | ||
OUT PDWORD | pdwMessageID | ||
) |
Definition at line 2709 of file eventvwr.c.
Referenced by BuildLogListAndFilterList().
BOOL GetEventCategory | ( | IN LPCWSTR | KeyName, |
IN LPCWSTR | SourceName, | ||
IN PEVENTLOGRECORD | pevlr, | ||
OUT PWCHAR | CategoryName | ||
) |
Definition at line 1589 of file eventvwr.c.
Referenced by EnumEventsThread().
BOOL GetEventMessage | ( | IN LPCWSTR | KeyName, |
IN LPCWSTR | SourceName, | ||
IN PEVENTLOGRECORD | pevlr, | ||
OUT PWCHAR | EventText | ||
) |
Definition at line 1639 of file eventvwr.c.
Referenced by DisplayEvent().
BOOL GetEventMessageFileDLL | ( | IN LPCWSTR | lpLogName, |
IN LPCWSTR | SourceName, | ||
IN LPCWSTR | EntryName, | ||
OUT PWCHAR | lpModuleName | ||
) |
Definition at line 1528 of file eventvwr.c.
Referenced by GetEventCategory(), and GetEventMessage().
Definition at line 1770 of file eventvwr.c.
Referenced by EnumEventsThread().
Definition at line 1800 of file eventvwr.c.
Referenced by EnumEventsThread().
DWORD GetExpandedFilePathName | ( | IN LPCWSTR ComputerName | OPTIONAL, |
IN LPCWSTR | lpFileName, | ||
OUT LPWSTR lpFullFileName | OPTIONAL, | ||
IN DWORD | nSize | ||
) |
Definition at line 1455 of file eventvwr.c.
Referenced by GetDisplayNameFileAndID(), GetEventMessageFileDLL(), and InitPropertiesDlg().
BOOL GetFileTimeString | ( | LPFILETIME | lpFileTime, |
LPWSTR | pwszResult, | ||
UINT | cchResult | ||
) |
Definition at line 1218 of file eventvwr.c.
Referenced by InitPropertiesDlg().
LPWSTR GetMessageStringFromDll | ( | IN LPCWSTR | lpMessageDll, |
IN DWORD | dwFlags, | ||
IN DWORD | dwMessageId, | ||
IN DWORD | nSize, | ||
IN va_list *Arguments | OPTIONAL | ||
) |
Definition at line 738 of file eventvwr.c.
Referenced by BuildLogListAndFilterList(), and GetMessageStringFromDllList().
LPWSTR GetMessageStringFromDllList | ( | IN LPCWSTR | lpMessageDllList, |
IN DWORD | dwFlags, | ||
IN DWORD | dwMessageId, | ||
IN DWORD | nSize, | ||
IN va_list *Arguments | OPTIONAL | ||
) |
Definition at line 842 of file eventvwr.c.
Referenced by ApplyParameterStringsToMessage(), GetEventCategory(), and GetEventMessage().
PEVENTLOGFILTER GetSelectedFilter | ( | OUT HTREEITEM *phti | OPTIONAL | ) |
Definition at line 2432 of file eventvwr.c.
Referenced by EventLogPropProc(), and WndProc().
Definition at line 3033 of file eventvwr.c.
Referenced by wWinMain().
Definition at line 3880 of file eventvwr.c.
Referenced by EventLogPropProc().
Definition at line 347 of file eventvwr.c.
Definition at line 2682 of file eventvwr.c.
Referenced by wWinMain().
Definition at line 2522 of file eventvwr.c.
Referenced by WndProc().
Definition at line 2458 of file eventvwr.c.
Referenced by OpenUserEventLog(), and wWinMain().
Definition at line 184 of file eventvwr.c.