1 /* $Id: errlog.c,v 1.8 2002/09/08 10:23:24 chorns Exp $
3 * COPYRIGHT: See COPYING in the top level directory
4 * PROJECT: ReactOS kernel
5 * FILE: ntoskrnl/io/errlog.c
6 * PURPOSE: Error logging
7 * PROGRAMMER: David Welch (welch@cwcom.net)
12 /* INCLUDES *****************************************************************/
14 #include <ddk/ntddk.h>
16 #include <internal/port.h>
18 #include <internal/debug.h>
20 /* TYPES *********************************************************************/
22 #define LOG_FILE_APPLICATION L"\\SystemRoot\\System32\\Config\\AppEvent.Evt"
23 #define LOG_FILE_SECURITY L"\\SystemRoot\\System32\\Config\\SecEvent.Evt"
24 #define LOG_FILE_SYSTEM L"\\SystemRoot\\System32\\Config\\SysEvent.Evt"
26 typedef struct _IO_ERROR_LOG_PACKET
28 UCHAR MajorFunctionCode
;
31 USHORT NumberOfStrings
;
35 ULONG UniqueErrorValue
;
39 LARGE_INTEGER DeviceOffset
;
41 } IO_ERROR_LOG_PACKET
, *PIO_ERROR_LOG_PACKET
;
43 /* FUNCTIONS *****************************************************************/
45 NTSTATUS
IoInitErrorLog(VOID
)
47 return(STATUS_SUCCESS
);
50 PVOID STDCALL
IoAllocateErrorLogEntry(PVOID IoObject
, UCHAR EntrySize
)
55 VOID STDCALL
IoWriteErrorLogEntry(PVOID ElEntry
)