ReactOS 0.4.16-dev-336-gb667d82
|
#include <stdarg.h>
#include <windef.h>
#include <winbase.h>
#include <ndk/rtlfuncs.h>
#include <ndk/obfuncs.h>
#include <evtlib.h>
#include <eventlogrpc_s.h>
#include <strsafe.h>
Go to the source code of this file.
Classes | |
struct | _LOGFILE |
struct | _EVENTSOURCE |
struct | _LOGHANDLE |
Macros | |
#define | WIN32_NO_STATUS |
#define | NTOS_MODE_USER |
#define | ROUND_DOWN(n, align) (((ULONG)n) & ~((align) - 1l)) |
#define | ROUND_UP(n, align) ROUND_DOWN(((ULONG)n) + (align) - 1, (align)) |
#define | LOG_HANDLE_BACKUP_FILE 1 |
Typedefs | |
typedef struct _LOGFILE | LOGFILE |
typedef struct _LOGFILE * | PLOGFILE |
typedef struct _EVENTSOURCE | EVENTSOURCE |
typedef struct _EVENTSOURCE * | PEVENTSOURCE |
typedef struct _LOGHANDLE | LOGHANDLE |
typedef struct _LOGHANDLE * | PLOGHANDLE |
Variables | |
PEVENTSOURCE | EventLogSource |
#define LOG_HANDLE_BACKUP_FILE 1 |
Definition at line 53 of file eventlog.h.
#define NTOS_MODE_USER |
Definition at line 19 of file eventlog.h.
Definition at line 23 of file eventlog.h.
Definition at line 24 of file eventlog.h.
#define WIN32_NO_STATUS |
Definition at line 15 of file eventlog.h.
typedef struct _EVENTSOURCE EVENTSOURCE |
typedef struct _LOGHANDLE LOGHANDLE |
typedef struct _EVENTSOURCE * PEVENTSOURCE |
typedef struct _LOGHANDLE * PLOGHANDLE |
PEVENTSOURCE GetEventSourceByName | ( | LPCWSTR | Name | ) |
Definition at line 202 of file eventsource.c.
Referenced by ElfCreateEventLogHandle(), and wmain().
Definition at line 22 of file eventsource.c.
Referenced by wmain().
Definition at line 47 of file logport.c.
Referenced by PortThreadRoutine().
Definition at line 82 of file eventsource.c.
Referenced by LoadLogFiles().
PEVENTLOGRECORD LogfAllocAndBuildNewRecord | ( | PSIZE_T | pRecSize, |
ULONG | Time, | ||
USHORT | wType, | ||
USHORT | wCategory, | ||
ULONG | dwEventId, | ||
PUNICODE_STRING | SourceName, | ||
PUNICODE_STRING | ComputerName, | ||
ULONG | dwSidLength, | ||
PSID | pUserSid, | ||
USHORT | wNumStrings, | ||
PWSTR | pStrings, | ||
ULONG | dwDataSize, | ||
PVOID | pRawData | ||
) |
Definition at line 896 of file file.c.
Referenced by ElfrIntReportEventW(), LogfReportEvent(), and ProcessPortMessage().
NTSTATUS LogfBackupFile | ( | PLOGFILE | LogFile, |
PUNICODE_STRING | BackupFileName | ||
) |
Definition at line 499 of file file.c.
Referenced by ElfrBackupELFW(), and LogfClearFile().
NTSTATUS LogfClearFile | ( | PLOGFILE | LogFile, |
PUNICODE_STRING | BackupFileName | ||
) |
Definition at line 467 of file file.c.
Referenced by ElfrClearELFW().
Definition at line 428 of file file.c.
Referenced by ElfDeleteEventLogHandle(), and LogfCloseAll().
NTSTATUS LogfCreate | ( | PLOGFILE * | LogFile, |
PCWSTR | LogName, | ||
PUNICODE_STRING | FileName, | ||
ULONG | MaxSize, | ||
ULONG | Retention, | ||
BOOLEAN | Permanent, | ||
BOOLEAN | Backup | ||
) |
Definition at line 294 of file file.c.
Referenced by ElfCreateBackupLogHandle(), and LoadLogFile().
|
static |
Definition at line 143 of file eventlog.h.
Referenced by ElfrIntReportEventW(), LogfReportEvent(), and ProcessPortMessage().
Definition at line 93 of file file.c.
Referenced by ElfCreateEventLogHandle().
Definition at line 33 of file file.c.
Referenced by ElfCreateEventLogHandle(), and ProcessPortMessage().
Definition at line 118 of file file.c.
Referenced by ElfCreateEventLogHandle().
NTSTATUS LogfReadEvents | ( | PLOGFILE | LogFile, |
ULONG | Flags, | ||
PULONG | RecordNumber, | ||
ULONG | BufSize, | ||
PBYTE | Buffer, | ||
PULONG | BytesRead, | ||
PULONG | BytesNeeded, | ||
BOOLEAN | Ansi | ||
) |
Definition at line 721 of file file.c.
Referenced by ElfrReadELA(), and ElfrReadELW().
VOID LogfReportEvent | ( | USHORT | wType, |
USHORT | wCategory, | ||
ULONG | dwEventId, | ||
USHORT | wNumStrings, | ||
PWSTR | pStrings, | ||
ULONG | dwDataSize, | ||
PVOID | pRawData | ||
) |
Definition at line 1037 of file file.c.
Referenced by ReportProductInfoEvent(), ServiceControlHandler(), and ServiceMain().
NTSTATUS LogfWriteRecord | ( | PLOGFILE | LogFile, |
PEVENTLOGRECORD | Record, | ||
SIZE_T | BufSize | ||
) |
Definition at line 858 of file file.c.
Referenced by ElfrIntReportEventW(), LogfReportEvent(), and ProcessPortMessage().
VOID PRINT_RECORD | ( | PEVENTLOGRECORD | pRec | ) |
Definition at line 544 of file eventlog.c.
Referenced by ProcessPortMessage().
Definition at line 104 of file logport.c.
Referenced by PortThreadRoutine().
Definition at line 20 of file rpcserver.c.
|
extern |
Definition at line 35 of file eventlog.c.
Referenced by CheckLogOrSourceExistence(), InstallEventSource(), LogfReportEvent(), and wmain().