:pserver:cvsanon@mok.lvcm.com:/CVS/ReactOS reactos
[reactos.git] / ntoskrnl / io / errlog.c
1 /* $Id$
2  *
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)
8  * UPDATE HISTORY:
9  *                  Created 22/05/98
10  */
11
12 /* INCLUDES *****************************************************************/
13
14 #include <ddk/ntddk.h>
15
16 #include <internal/port.h>
17
18 #include <internal/debug.h>
19
20 /* TYPES *********************************************************************/
21
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"
25
26 typedef struct _IO_ERROR_LOG_PACKET
27 {
28    UCHAR MajorFunctionCode;
29    UCHAR RetryCount;
30    USHORT DumpDataSize;
31    USHORT NumberOfStrings;
32    USHORT StringOffset;
33    USHORT EventCategory;
34    NTSTATUS ErrorCode;
35    ULONG UniqueErrorValue;
36    NTSTATUS FinalStatus;
37    ULONG SequenceNumber;
38    ULONG IoControlCode;
39    LARGE_INTEGER DeviceOffset;
40    ULONG DumpData[1];
41 } IO_ERROR_LOG_PACKET, *PIO_ERROR_LOG_PACKET;
42
43 /* FUNCTIONS *****************************************************************/
44
45 NTSTATUS IoInitErrorLog(VOID)
46 {
47    return(STATUS_SUCCESS);
48 }
49
50 PVOID STDCALL IoAllocateErrorLogEntry(PVOID IoObject, UCHAR EntrySize)
51 {
52    UNIMPLEMENTED;
53 }
54
55 VOID STDCALL IoWriteErrorLogEntry(PVOID ElEntry)
56 {
57
58
59
60 /* EOF */